3 #ifndef HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
4 #define HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
27 #ifdef TEST_HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
28 #define debug_harmonize 1
30 #define debug_harmonize 0
31 #endif // TEST_HARMONIZE_UNKNOWN_AND_IDENTITY_SYMBOLS
34 class HarmonizeUnknownAndIdentitySymbols
40 static const char * identity;
41 static const char * unknown;
45 HarmonizeUnknownAndIdentitySymbols
51 StringSet t1_symbol_set;
52 StringSet t2_symbol_set;
67 void harmonize_identity_symbols
81 void harmonize_unknown_symbols
85 void debug_harmonize_print(
const StringSet &);
86 void debug_harmonize_print(
const std::string &);
87 size_t max(
size_t t1,
size_t t2);
92 #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:122
HfstTransitionGraph< HfstTropicalTransducerTransitionData > HfstBasicTransducer
An HfstTransitionGraph with transitions of type HfstTropicalTransducerTransitionData and weight type ...
Definition: HfstDataTypes.h:114
Typedefs and functions for symbols, symbol pairs and sets of symbols.