Skip to content

Commit

Permalink
Merge pull request #3 from kilick/user/kilick/readme
Browse files Browse the repository at this point in the history
Updated readme
  • Loading branch information
kilick authored Jan 13, 2019
2 parents 3bb79d6 + de6528b commit f08d6e7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
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

0 comments on commit f08d6e7

Please sign in to comment.