From e5e0cf3b920f9e3da3e67cc8853cc7b6f19145cf Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 25 May 2016 19:54:01 -0400 Subject: [PATCH] [fix] loading transliteration module in address_parser_test.c as well --- src/address_parser_test.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/address_parser_test.c b/src/address_parser_test.c index 57776381..8fb0fe01 100644 --- a/src/address_parser_test.c +++ b/src/address_parser_test.c @@ -142,6 +142,14 @@ int main(int argc, char **argv) { log_info("address dictionary module loaded\n"); + // Needs to load for normalization + if (!transliteration_module_setup(NULL)) { + log_error("Could not load transliteration module\n"); + exit(EXIT_FAILURE); + } + + log_info("transliteration module loaded\n"); + if (!geodb_module_setup(NULL)) { log_error("Could not load geodb dictionaries\n"); exit(EXIT_FAILURE);