LibPostalNet icon indicating copy to clipboard operation
LibPostalNet copied to clipboard

Steps to run LipPostalNet console

Open zhanglo opened this issue 8 years ago • 1 comments

I am new to .net! wonder how to run the console, do I need install C library for libPostal first? how to link it to this .net app?

Thanks

zhanglo avatar Nov 30 '17 14:11 zhanglo

this is the error I got when run in debug:

←[31mERR←[39m Error loading transliteration module, dir=(null) ←[90m at libpostal_setup_datadir (libpostal.c:1047) ←[94merrno: No such file o r directory←[39m ←[31mERR←[39m Could not find parser model file of known type ←[90m at address_parser_load (address_parser.c:208) ←[94merrno: No such file o r directory←[39m ←[31mERR←[39m Error loading address parser module, dir=(null) ←[90m at libpostal_setup_parser_datadir (libpostal.c:1111) ←[94merrno: No such file or directory←[39m ←[31mERR←[39m parser is not setup, call libpostal_setup_address_parser() ←[90m at address_parser_parse (address_parser.c:1657) ←[94merrno: No such file or directory←[39m ←[31mERR←[39m Parser returned NULL ←[90m at libpostal_parse_address (libpostal.c:1027) ←[94merrno: No such file o r directory←[39m how do I set up the datadir?

Thanks

zhanglo avatar Dec 02 '17 04:12 zhanglo