diff --git a/src/address_parser_train.c b/src/address_parser_train.c index 7f0c6ee5..11b1cdee 100644 --- a/src/address_parser_train.c +++ b/src/address_parser_train.c @@ -7,6 +7,7 @@ #include "file_utils.h" #include "geodb.h" #include "shuffle.h" +#include "transliterate.h" #include "log/log.h" @@ -450,6 +451,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);