[fix] Need to load transliteration module for Latin-ASCII normalization
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user