-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from kilick/user/kilick/readme
Updated readme
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
# LibPostalNet | ||
C# bindings for libpostal (https://github.com/openvenues/libpostal) | ||
|
||
This library provides C# bindings for libpostal (https://github.com/openvenues/libpostal). | ||
|
||
We've included a compiled version of libpostal (postal.dll) for use in the demo (LibPostalConsole), however, | ||
you are free to compile your own. However, you will need to download libpostal's data and models at | ||
https://github.com/openvenues/libpostal/tree/master/data if you have not already. | ||
|
||
Once you have the files downloaded, compile and run LibPostalConsole on the command line with 1 argument - | ||
the path to the data directory. | ||
|
||
### Compiling libpostal on Windows | ||
|
||
Follow the instructions here: https://github.com/openvenues/libpostal#installation-windows | ||
|
||
Essentially, you are using some MSys2/MinGW to compile libpostal on a windows machine. Once you install | ||
MSys, it will give you a number of shells to choose from (shortcuts), pick "MSYS2 MinGW 64-bit", in order | ||
to ensure that the final DLL is built against msvcrt.dll and not msys-2.x.dll, otherwise C# / .NET will complain. | ||
|
||
Credit to https://github.com/mapo80 and https://github.com/mapo80/LibPostalNet |