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.

This commit is contained in:
AeroXuk
2017-11-27 19:20:37 +00:00
parent 69e0d5d963
commit 9090811826
6 changed files with 20 additions and 5 deletions

View File

@@ -1073,6 +1073,10 @@ libpostal_address_parser_response_t *libpostal_parse_address(char *address, libp
return parsed;
}
bool libpostal_parser_print_features(bool print_features) {
return address_parser_print_features(print_features);
}
bool libpostal_setup_datadir(char *datadir) {
char *transliteration_path = NULL;
char *numex_path = NULL;