Commit Graph

5209 Commits

Author SHA1 Message Date
Al Barrentine
8b2f91477e Merge pull request #282 from openvenues/faster_windows_build
adding make -j4 to Windows build
2017-11-30 19:13:06 -05:00
Al
cf56da98f7 [build] only build master on Appveyor so PRs don't trigger multiple builds 2017-11-30 17:39:24 -05:00
Al
02d049b8d9 [build] also trying make -j4 to the Windows build. Set an option on the Appveyor side that will hopefully not build twice on pull requests 2017-11-30 17:18:04 -05:00
Al Barrentine
133dce6f2c Merge pull request #280 from openvenues/faster_builds
make -j4 for all builds
2017-11-30 14:37:18 -05:00
Al
f207a4680d [docs/build] adding make -j4 as the default for make, including in the Travis/Appveyor builds, should make build times faster 2017-11-30 14:09:13 -05:00
Al
e27f5f1d70 [api] adding LIBPOSTAL_EXPORT to some of the new public API functions in this branch 2017-11-29 18:10:10 -05:00
AeroXuk
e35d6bf392 Setup AppVeyor Build Matrix for 32 & 64 bit builds. 2017-11-29 22:53:44 +00:00
Al
ec4d683d1b Merge branch 'master' into lieu_api 2017-11-29 15:49:52 -05:00
Al
2cb0d146e5 [docs][ci skip] adding a section for Windows installation, shoutouts to @BenK10 and @AeroXuk 2017-11-29 13:13:00 -05:00
Al Barrentine
1c42df5ca9 Merge pull request #279 from openvenues/drand48_fix
fix Mac build/standardize conditional compilation of strndup and drand48 for Windows
2017-11-29 13:04:24 -05:00
Al
9e837f7209 [fix] deleting comment, this is not a header-only implementation 2017-11-29 12:26:36 -05:00
Al
26e4ef08bc [fix] conditional compilation for strndup and drand48 for Windows, using config.h 2017-11-29 12:21:13 -05:00
Al
1a64ad682b [merge] merging in the Ohio expansion numex changes from master 2017-11-29 11:51:43 -05:00
Al Barrentine
18eb5ef9ee Merge pull request #272 from AeroXuk/master
Windows support via AppVeyor
2017-11-28 21:35:46 -05:00
AeroXuk
19ae97d527 Adding include config.h to strndup.c so that the function is not compiled and doesn't cause errors when the system has its own implementation. 2017-11-27 23:40:46 +00:00
AeroXuk
9090811826 Modifed the libpostal API to add an extra function libpostal_parser_print_features to toggle debugging info. Updated address_parser app to use the new function. 2017-11-27 19:20:37 +00:00
AeroXuk
69e0d5d963 Updated linenoise to be MSys2/MinGW compatible. Updated address_parser app to use the defined libpostal api and not include internal components directly. Removed windows src Makefile as it is now the same as the standard one. 2017-11-27 01:42:25 +00:00
AeroXuk
bb5535602a Adding libpostal.h to the AppVeyor package. 2017-11-25 10:13:14 +00:00
AeroXuk
26ac9ab5c2 Removing EXPORT statements from all source files and most header files, leaving only the exports for the main API in libpostal.h. Modified Makefiles so that all the test apps build without having extra functions exported from libpostal. 2017-11-25 04:35:28 +00:00
Travis
15b3758be8 [auto][ci skip] Adding data files from Travis build #284 2017-11-24 22:29:45 +00:00
Al Barrentine
7d001489ef Merge pull request #274 from openvenues/fix_oh_expansion
Context-sensitive expansion of words like "oh" inside vs. outside numeric expressions
2017-11-24 17:13:24 -05:00
Al
ebe7fc9be9 [test] missing paren in Columbus, OH test. Adding test for "oh" as part of a number in Nineteen oh one W El Segundo Blvd 2017-11-24 16:11:07 -05:00
Al
d7f22544b4 [test] adding an expansion test for the Columbus, OH case 2017-11-24 15:44:37 -05:00
Al
ef098fd2e7 [numex] implementing the numex concat_only_if_number left context, which helps in the case of e.g. Columbus, OH in #271 2017-11-24 15:42:50 -05:00
Al
c276cf1529 [numex] adding a new type of left context for numeric expressions called conat_only_if_number (for something like "oh" which can be "Columbus, OH" or something like "Twenty-One Oh One" 2017-11-24 15:36:53 -05:00
AeroXuk
f0246e7333 Fix bug in strndup fix for windows. Move all includes out of headers and into code for strndup.h and move it to be the last include. 2017-11-23 19:11:25 +00:00
AeroXuk
d205f4d2bb Adding artifacts to AppVeyor config. 2017-11-23 02:24:06 +00:00
AeroXuk
f07ab765cb Adding the export marker to all functions used in tests. 2017-11-20 20:58:37 +00:00
AeroXuk
ad682b7592 Altered Makefile to include strndup.c on the other programs which require it. For the windows version of the Makefile, commented out address_parser lines as it has dependencies on includes we don't have. 2017-11-20 20:24:11 +00:00
AeroXuk
dbf232b8f8 Fix bugs in AppVeyor config and build script. Added call to test script. 2017-11-19 13:35:08 +00:00
AeroXuk
2d3b420d35 Merging changes from AeroXuk/libpostal_windows. 2017-11-19 12:44:38 +00:00
Travis
7d6e648fc3 [auto][ci skip] Adding data files from Travis build #271 2017-11-17 19:36:25 +00:00
Al Barrentine
27b3e99515 Merge pull request #269 from Jeffrey04/ms-dictionary-expansion-1.0
Ms dictionary expansion for 1.0
2017-11-17 14:20:43 -05:00
jeffrey04
86c3105d44 new names with alternate spelling 2017-11-16 11:23:20 +08:00
jeffrey04
e9d2ab6400 reordered list of synonyms 2017-11-16 11:22:42 +08:00
jeffrey04
b3d306456f new synonyms 2017-11-16 11:22:14 +08:00
jeffrey04
0d76d190e1 updated street types 2017-11-16 11:21:39 +08:00
jeffrey04
f726970d2b updated qualifiers 2017-11-16 11:20:20 +08:00
jeffrey04
39fd7f0cb1 list of titles update 2017-11-16 11:18:18 +08:00
jeffrey04
865f99a0c1 sorted place names 2017-11-16 11:04:49 +08:00
jeffrey04
ceae1257af new place names 2017-11-16 11:00:07 +08:00
jeffrey04
f3b76c1f28 some new company types in malay 2017-11-16 10:55:03 +08:00
jeffrey04
c9d22d228f rearrange according to alphabetical order 2017-11-16 10:53:52 +08:00
jeffrey04
5e9d8f0a1e rearrange into alphabetical order as in other languages 2017-11-16 10:51:53 +08:00
jeffrey04
6d54cbcc82 new building types 2017-11-16 10:43:58 +08:00
Choon-Siang Lai
867c3b825c Merge pull request #1 from openvenues/master
Synching from upstream
2017-11-15 14:35:47 +08:00
Al
fbf88aee88 [similarity] adding possible abbreviation functions to header, making everything const char * 2017-11-12 04:48:26 -05:00
Al
b34e578366 [similarity] using new sequence alignment breakdown by operation to tell if any two words are an abbreviation. The loose variant requires that the alignment covers all characters in the shortest string, which matches things like Services vs. Svc, whereas the strict variant requires that either the shorter string is a prefix of the longer one (Inc and Incorporated) or that the two strings share both a prefix and a suffix (Dept and Department). Both variants require that the strings share at least the first letter in common. 2017-11-11 04:02:28 -05:00
Al
751873e56b [similarity] a *NEW* sequence alignment algorithm which builds on Smith-Waterman-Gotoh with affine gap penalties. Like Smith-Waterman, it performs a local alignment, and like the cost-only version of Gotoh's improvement, it needs O(mn) time and O(m) space (where m is the length of the longer string). However, this version of the algorithm stores and returns a breakdown of the number and specific types of edits it makes (matches, mismatches, gap opens, gap extensions, and transpositions) rather than rolling them up into a single cost, and without needing to return/compute the full alignment as in Needleman-Wunsch or Hirschberg's variant 2017-11-11 03:07:39 -05:00
Al
665b780422 [utils] adding unicode_equals function in string_utils for testing equality of unicode char arrays 2017-11-11 02:45:41 -05:00