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
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
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
Al
f3cf119e58
[build] Makefile changes to support moving numeric expression parsing to normalize.c
2017-04-18 21:41:24 -04:00
Al
c01e67c1e4
[fix] removing one of the warnings about C90 since this is entirely C99.
2017-04-05 14:51:23 -04:00
Al
4a72afc712
[build] Makefile changes for new language_classifier_train
2017-04-02 23:55:31 -04:00
Al
7f8c2f0ad3
[fix] remove bloom.c from libpostal sources
2017-03-31 15:22:48 -04:00
Al
6d4c7984df
[api] doing this now since we're bumping a major version. Using a libpostal prefixes for all public header functions and definitions
2017-03-31 03:35:51 -04:00
Al
f7889bf138
[fix] removing WIP
2017-03-29 20:46:56 -04:00
Al
a7c9b919e9
[build] trying a CBLAS-specific macro that doesn't rope in Fortran
2017-03-29 18:57:32 -04:00
Al
c67678087f
[parser] using a bipartite graph (indptr + indices) to represent postal code<=>admin relationships instead of a set of 64-bit ints. Requires |V(postal codes)| + |E| 32 bit ints instead of |E| 64 bit ints. Saves several hundred MB in file size and even more space in memory because of the hashtable overhead
2017-03-18 06:05:28 -04:00
Al
d876beb386
[fix] add CRF files to the main lib
2017-03-10 19:40:15 -05:00
Al
0ec590916b
[build] adding necessary sources to address_parser client, address_parser_train and address_parser_test
2017-03-10 19:33:31 -05:00
Al
b320aed9ac
[merge] merging master
2017-01-13 19:58:49 -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
Al
05732f6718
[build] Makefile changes for new parser feature extraction
2016-12-29 02:39:29 -05:00
Al
dd744c6d99
[merge] configure/Makefile changes from master
2016-12-22 12:37:27 -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
09b4e2ba2f
[build] pulling in change from parser-data that allows user to pass CFLAGS
2016-12-21 14:39:27 -05:00
Al
3137ef5c6a
[build] configure/Makefile changes to use SIMD exp and BLAS when available
2016-08-06 00:43:24 -04:00
Tom Davis
a8bb798ce0
Call libpostal_data in source path, not build path
...
This fix updates Makefile to find the actual libpostal_data file when
`configure` is called from another directory, which it uses as the build
directory.
2016-07-20 17:31:52 -04:00
Al
9b3296914a
[build] Defining LIBPOSTAL_DATA_DIR at compile time, not configure
2016-01-30 02:18:12 -05:00
Al
95a7978131
[build] Adding relevant language_classifier sources to build
2016-01-27 03:34:35 -05:00
Al
314b65e192
[build] Adding shuffle.c to language_classifier_train
2016-01-26 01:18:35 -05:00
Al
ae2b839f17
[build] Adding language classifier train/test/cli programs to the build
2016-01-26 00:09:07 -05:00
Al
79f2b7c192
[build] Removing source from libpostal shared lib
2016-01-12 10:31:22 -05:00
Al
6a9c1e8c6d
[build] Adding trie_utils.c to address parser train/test
2016-01-12 10:22:34 -05:00
Al
1b0567a881
[fix] Ubuntu build
2015-12-28 17:19:50 -05:00
Al
d0b5985cb7
[build] Adding /usr/local/lib and /usr/local/include to sparkey build
2015-12-28 16:56:10 -05:00
Al
507dd631f8
[build] Adding json_encode.c to the address parser client sources
2015-12-23 19:37:28 -05:00
Al
31ed88bf6a
[api] Adding a --json option to expand cli
2015-12-17 13:46:55 -05:00
Al
2950358697
[build] address_parser client now links to libpostal, adding address_parser to download script with an "all" option
2015-12-12 12:49:50 -05:00
Al
f322ae0a1c
[build] adding shuffle.c to Makefile rule
2015-12-01 11:28:33 -05:00
Al
5f13041140
[parsing/build] Makefile changes for address parser
2015-11-30 14:51:43 -05:00
Al
c2d112f4fc
[fix] compile flags in Makefile.am
2015-10-27 19:01:37 -04:00
Al
83c6a87ab1
[build] substitution for use of LIBPOSTAL_DATA_DIR in Makefile.am
2015-10-26 18:47:07 -04:00
Al
a319c1f6a0
[build] defining LIBPOSTAL_DATA_DIR in Autoconf rather than Automake, becomes part of config.h
2015-10-26 18:06:05 -04:00
Al
b88f237d82
[build] Adding separate Makefile target for downloading geodb
2015-10-11 22:27:25 -05:00
Al
29bc0fd11e
[build] Makefile changes for the new geodb
2015-10-09 15:54:44 -04:00
Al
abfa744d59
[build] Adding libpostal_data script for downloading data from S3, Makefile uses that now as part of the all-local target. Can be run periodically after install
2015-09-28 17:26:15 -04:00
Al
e98a822661
[build] ORder-only dependencies for downloading data files, rm-ing the tarball when done extracting
2015-08-11 12:59:37 -04:00
Al
0028c2bc53
[build] Fixing tarball uploading
2015-08-11 03:18:35 -04:00
Al
f21b767696
[build] Adding tarball back to pkgdata
2015-08-10 18:44:40 -04:00
Al
e346b831cb
[build] public-read permissions when uploading to S3
2015-08-09 00:17:04 -04:00
Al
ad584671c4
[build] Not compiling with -Werror for now
2015-08-09 00:02:41 -04:00
Al
423e2c86c7
[build] builder programs are now in noinst_PROGRAMS, Makefile target to upload data tarball to S3 (with proper credentials)
2015-08-08 23:29:34 -04:00
Al
2106a6cfe4
[build] Adding command-line test and bench programs
2015-08-08 19:44:50 -04:00
Al
5aa2e99b92
[fix] data dir for tar extraction
2015-08-08 19:42:37 -04:00
Al
54aa6fe7df
[build] Fixing runtime check/save of last updated file for package data tarball
2015-08-08 17:16:03 -04:00
Al
f161f68d53
[build] Changes to Makefile.am to build on Debian/Ubuntu, fixing downloading of the data tarball for Mac and Linux
2015-08-07 17:27:34 -04:00