[fix] Need to load transliteration module for Latin-ASCII normalization

This commit is contained in:
Al
2016-05-25 15:25:34 -04:00
parent b326e209fb
commit 16501aba17

View File

@@ -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);