Commit Graph

1746 Commits

Author SHA1 Message Date
Al
38c6c26146 [fix] freeing normalized string in address_parser_parse 2017-02-09 14:33:13 -05:00
Al Barrentine
904fde6b9b Merge pull request #156 from rinigus/master_cstring
cstring_array_from_char_array returns NULL for empty char array
2017-01-14 13:04:16 -05:00
Rinigus
67624f89d0 cstring_array_from_char_array: return empty initializes cstring_array from empty string 2017-01-14 10:43:47 +02:00
Rinigus
95caac1987 string_utils: revert changes and merge with upstream 2017-01-14 10:35:06 +02:00
Al
df89387b5c [fix] calloc instead of malloc when performing initialization on structs that may fail halfway and need to clean up while partially initialized (calloc will set all the bytes to zero so the member pointers are NULL instead of garbage memory) 2017-01-13 18:30:04 -05:00
Al
1398df1260 [fix] accept 0 for array_new_size 2017-01-13 17:49:31 -05:00
Al
e1f258171f [fix] handle cstring_array_from_char_array where char_array is NULL or 0-length 2017-01-13 16:52:41 -05:00
Rinigus
cde7e558b4 cstring_array_from_char_array returns NULL for empty char array 2017-01-13 23:06:24 +02:00
Al Barrentine
577f26e418 Merge pull request #154 from openvenues/setup_datadir_functions
Setup datadir functions
2017-01-09 16:52:07 -05:00
Al
bbc91722cb [version] bump version to 0.3.3 2017-01-09 16:14:07 -05:00
Al
a3506131fe [build] adding libpostal_setup_datadir, libpostal_setup_parser_datadir, libpostal_setup_language_classifier_datadir functions for configuring the datadir at runtime 2017-01-09 16:11:26 -05:00
Al
953a26e54e [utils] char_array_add_vjoined to stay consistent (add_* methods NUL termiante) 2017-01-09 16:10:07 -05:00
Al Barrentine
a2b84a0177 [docs][ci skip] Adding parser label definitions to the README 2017-01-07 14:17:31 -05:00
Al Barrentine
2b3a6f663e Merge pull request #152 from rinigus/master_rpc_malloc
changes required for cross-compilation of ARM target
2017-01-05 17:12:51 -05:00
Rinigus
26aeb0ebec drop AC_FUNC_MALLOC and _REALLOC and check for them as regular functions; add extra cflags for scanner 2017-01-05 07:34:24 +02:00
Travis
d61e90a33d [auto][ci skip] Adding data files from Travis build #188 2017-01-01 19:20:54 +00:00
Al Barrentine
6048d6a71e Merge pull request #149 from iestynpryce/master
Enhanced the Welsh (cy) language dictionaries.
2017-01-01 14:11:16 -05:00
Iestyn Pryce
d8ee43156e Enhanced the Welsh (cy) language dictionaries. 2016-12-31 09:46:58 +00:00
Travis
6c35eb9e65 [auto][ci skip] Adding data files from Travis build #186 2016-12-28 06:29:35 +00:00
Al
a86d6d5528 [merge] merging in master 2016-12-28 01:11:04 -05:00
Al Barrentine
47c3b0091b Merge pull request #147 from Komzpa/patch-1
Remove place names that are not place names (RU, BE)
2016-12-28 01:08:48 -05:00
Al
e23951a90f [dictionaries] new Ukrainian place names dictionary from http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/UK 2016-12-28 01:08:01 -05:00
Al
0bcaf816c4 [dictionaries] new Russian place names dictionary from http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/RU 2016-12-28 01:07:35 -05:00
Travis
dc528affd5 [auto][ci skip] Adding data files from Travis build #184 2016-12-27 23:45:40 +00:00
Al Barrentine
2a42ea016b Merge pull request #148 from Komzpa/patch-2
Ukrainian place names that are actually whatever
2016-12-27 18:35:48 -05:00
Darafei Praliaskouski
e514778645 Ukrainian place names that are actually whatever 2016-12-27 15:21:05 +03:00
Darafei Praliaskouski
dba8c28e6a Remove Russian place names that are actually street names 2016-12-27 13:28:23 +03:00
Darafei Praliaskouski
38a6618e40 Remove Belarusian place names that are not place names
These all are parts of streets.
2016-12-27 13:26:30 +03:00
Al Barrentine
46a1be3443 Merge pull request #144 from bradh/utcdateref
[fix] Use UTC date reference to avoid repeating S3 downloads.
2016-12-26 14:04:41 -05:00
Brad Hards
fb68e22bbf [fix] Use UTC date reference to avoid repeating S3 downloads.
Resolves https://github.com/openvenues/libpostal/issues/143
2016-12-26 12:04:02 +11:00
Al
191fc20841 Merge branch 'master' of https://github.com/openvenues/libpostal 2016-12-22 12:33:22 -05:00
Al
8fe7958969 [build] allowing --disable-data-download option to configure. N.B. this is mostly for people building Docker images. The data files are NOT optional. 2016-12-22 12:31:27 -05:00
Al Barrentine
86362639d1 Merge pull request #142 from openvenues/cflags
Allow user to pass in CFLAGS
2016-12-21 14:50:53 -05:00
Al
09b4e2ba2f [build] pulling in change from parser-data that allows user to pass CFLAGS 2016-12-21 14:39:27 -05:00
Al Barrentine
bcf6b3cc68 Merge pull request #137 from openvenues/fix_address_parser_train
Fix address_parser_train
2016-12-12 11:54:16 -05:00
Al
8f1e69960f [fix] loading transliteration module in address_parser_test.c as well 2016-12-12 11:37:27 -05:00
Al
3939dd0ca6 [fix] cstring_array_split calls 2016-12-12 11:37:27 -05:00
Al
a42d0e917a [fix] brace 2016-12-12 11:37:27 -05:00
Al
ced8f9ae27 [parser] Ignore multiple spaces in parser input post-normalization. If normalizing the string creates several distinct tokens (namely in Vulgar fractions e.g. ½ => 1/2), add all the sub-tokens with the same label as the parent 2016-12-12 11:37:27 -05:00
Al
b1816e9b70 [utils] Adding cstring_array_split_ignore_consecutive 2016-12-12 11:37:27 -05:00
Al
6baa7087fe [fix] calls and NULL checks 2016-12-12 11:37:27 -05:00
Al
5e07f5e8c5 [fix] tokenized_string_t should copy its source string 2016-12-12 11:37:27 -05:00
Al
521a094a47 [fix] Need to load transliteration module for Latin-ASCII normalization 2016-12-12 11:37:27 -05:00
Al
d575caba8a [data] using UTC for libpostal data files on the Mac version of the download script as well 2016-12-09 19:43:05 -05:00
Al
c3f3896b48 [fix] update test for date function in data download script 2016-12-09 19:29:00 -05:00
Al
14fa8a08c0 [fix][ci skip] attempting something less cluttered for the readme 2016-10-07 00:50:36 -04:00
Al
6ce05812fe [docs][ci skip] edit to intro/project description 2016-10-06 23:59:26 -04:00
Al
5f7bf6008a [fix][ci skip] cliffhanger, paragraph order 2016-10-06 23:49:42 -04:00
Al
5a571b1d7a [docs][ci skip] moving flags below intro paragraph in readme 2016-10-06 23:45:08 -04:00
Al
de99120c66 [fix][ci skip] alignment of flags on readme 2016-10-06 23:23:23 -04:00