Nullreference Exception when trying to start without data
Im trying to start the LibPostalConsole example application without the data argument (because I can't find the data actually), but when it gets to
var response = libpostal.LibpostalParseAddress(query, new LibpostalAddressParserOptions());
The response object is null, and thus throws a nullreference exception in the next line.
What am I doing wrong? Or is it impossible to run without the data files?
You need the data files to run the tool. I see that the files are no longer at the ../data URL the README states, I'll update that. In the meantime, follow libpostal's original procedure for acquiring the data:
https://github.com/openvenues/libpostal#data-files
Okay, so maybe the console app should complain instead of actually trying to run, but anyway, I got it working by compiling on WSL and that gave me the data files. Thanks!