You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the Java/JNI bindings to [libpostal](https://github.com/openvenues/libpostal), a fast, multilingual NLP library (written in C) for parsing/normalizing physical addresses around the world.
3
+
These are the Java/JNI bindings to [libpostal](https://github.com/openvenues/libpostal), a fast, multilingual NLP
4
+
library (written in C) for parsing/normalizing physical addresses around the world.
Note: libpostal >= v0.3.3 is required to use this binding.
82
123
83
124
84
-
Building jpostal
85
-
----------------
86
-
125
+
### Building jpostal
87
126
Only one command is needed:
88
127
89
128
```
90
129
./gradlew assemble
91
130
```
92
131
93
-
This will leverage gradle's NativeLibrarySpec support to build for the JNI/C portion of the library and installs the resulting shared libraries in the expected location for java.library.path
132
+
This will leverage gradle's NativeLibrarySpec support to build for the JNI/C portion of the library and installs the
133
+
resulting shared libraries in the expected location for java.library.path
134
+
135
+
### Usage in a Java project
94
136
95
-
Usage in a Java project
96
-
-----------------------
97
137
98
-
The JNI portion of jpostal builds shared object files (.so on Linux, .jniLib on Mac) that need to be on java.library.path.
99
-
After running ```gradle assemble``` the .so/.jniLib files can be found under ```./libs/jpostal/shared``` in the build dir. For running the tests, we set java.library.path explicitly [here](https://github.com/Qualytics/jpostal/blob/master/build.gradle#L63).
138
+
The JNI portion of jpostal builds shared object files (.so on Linux, .jniLib on Mac) that need to be on
139
+
java.library.path.
140
+
After running ```gradle assemble``` the .so/.jniLib files can be found under ```./libs/jpostal/shared``` in the build
141
+
dir. For running the tests, we set java.library.path
0 commit comments