12 #ifndef HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
13 #define HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
36 #ifdef TEST_HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
37 #define debug_harmonize 1
39 #define debug_harmonize 0
40 #endif // TEST_HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
45 class HarmonizeUnknownAndIdentitySymbols
51 static const char * identity;
52 static const char * unknown;
56 HFSTDLL HarmonizeUnknownAndIdentitySymbols
62 StringSet t1_symbol_set;
63 StringSet t2_symbol_set;
78 HFSTDLL
void harmonize_identity_symbols
92 HFSTDLL
void harmonize_unknown_symbols
96 HFSTDLL
void debug_harmonize_print(
const StringSet &);
97 HFSTDLL
void debug_harmonize_print(
const std::string &);
99 HFSTDLL
size_t max_(
size_t t1,
size_t t2);
104 #endif // HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS --- good
Datatypes that are needed when using the HFST API.
HfstTransition< HfstTropicalTransducerTransitionData > HfstBasicTransition
An HfstTransition with transition data of type HfstTropicalTransducerTransitionData.
Definition: HfstDataTypes.h:121
HfstTransitionGraph< HfstTropicalTransducerTransitionData > HfstBasicTransducer
An HfstTransitionGraph with transitions of type HfstTropicalTransducerTransitionData and weight type ...
Definition: HfstDataTypes.h:113
Typedefs and functions for symbols, symbol pairs and sets of symbols.