-
Notifications
You must be signed in to change notification settings - Fork 1
LexcCompiler
A compiler holding information contained in lexc style lexicons. A single LexcCompiler can be extended by adding entries to it, but little else can be done with it. It is sufficient to implement clone of lexc.
Create a lexc compiler for unspecified transducer format.
Create a lexc compiler with impl
as transducer format.
Create a lexc compiler with impl
as transducer format.
Compile lexc description from infile
into current compiler.
Compile lexc description from file @a filename into current compiler.
Set verbosity options. When verbose
is true, LexcCompiler will output the messages that Xerox lexc compiler does.
[comment] # todo [comment] # isQuiet(): [comment] # [comment] # todo [comment] # setTreatWarningsAsErrors(value): [comment] # [comment] # todo [comment] # areWarningsTreatedAsErrors(): [comment] # [comment] # todo [comment] # setAllowMultipleSublexiconDefinitions(value): [comment] # [comment] # todo [comment] # setWithFlags(value): [comment] # [comment] # todo [comment] # setMinimizeFlags(value): [comment] # [comment] # todo [comment] # setRenameFlags(value): [comment] #
Add @a alphabet to multicharacter symbol set. These symbols may be used for regular expression ? for backends that do not support open alphabets.
todo
Set current processing lexicon name to @a lexicon_name.
Add entry defined by a @a entry to current lexicon, pointing to @a continuation weighing @a weight to current lexicon.
Add entry defined by @a upper:@a lower, pointing to @a continuation weighing @a weight to current lexicon.
Add entry defined by regular expression @a xre, pointing to @a continuation weighing @a weight to current lexicon.
Add macro definition named @a name matching regular expression @a xre to known xerox regular expressions.
Set start lexicon's name to @a lexicon_name.
Create final usable version of current lexicons and entries. Return: HfstTransducer pointer.
Check that current morphotax is connected and print anomalies. Works like xerox lexc, for compatibility.
Package hfst
- AttReader
- PrologReader
- HfstBasicTransducer
- HfstBasicTransition
- HfstTransducer
- HfstInputStream
- HfstOutputStream
- MultiCharSymbolTrie
- HfstTokenizer
- LexcCompiler
- XreCompiler
- PmatchContainer
- ImplementationType