[expansion] generated header and data files
This commit is contained in:
145583
src/address_expansion_data.c
145583
src/address_expansion_data.c
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
#ifndef ADDRESS_EXPANSION_RULE_H
|
#ifndef ADDRESS_EXPANSION_RULE_H
|
||||||
#define ADDRESS_EXPANSION_RULE_H
|
#define ADDRESS_EXPANSION_RULE_H
|
||||||
|
|
||||||
@@ -6,9 +7,12 @@
|
|||||||
#include "constants.h"
|
#include "constants.h"
|
||||||
#include "gazetteers.h"
|
#include "gazetteers.h"
|
||||||
|
|
||||||
|
#define MAX_DICTIONARY_TYPES 4
|
||||||
|
|
||||||
typedef struct address_expansion_rule {
|
typedef struct address_expansion_rule {
|
||||||
char *phrase;
|
char *phrase;
|
||||||
dictionary_type_t dictionary;
|
uint32_t num_dictionaries;
|
||||||
|
dictionary_type_t dictionaries[MAX_DICTIONARY_TYPES];
|
||||||
int32_t canonical_index;
|
int32_t canonical_index;
|
||||||
} address_expansion_rule_t;
|
} address_expansion_rule_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user