![]() |
omorfi 0.9.9
Open morphology of Finnish
|
Data Structures | |
| class | IndexTable |
| class | Transition |
| class | TransitionIndex |
| class | TransitionTable |
Public Member Functions | |
| WeightedTransducer (FileInputStream file, TransducerHeader h, TransducerAlphabet a) throws java.io.IOException | |
| Collection< String > | analyze (String input) throws NoTokenizationException |
Protected Attributes | |
| TransducerHeader | header |
| TransducerAlphabet | alphabet |
| Stack< int[]> | stateStack |
| Hashtable< Integer, FlagDiacriticOperation > | operations |
| LetterTrie | letterTrie |
| IndexTable | indexTable |
| TransitionTable | transitionTable |
| Vector< String > | displayVector |
| int[] | outputString |
| Vector< Integer > | inputString |
| int | outputPointer |
| int | inputPointer |
| float | current_weight |
Reads the header, alphabet, index table and transition table and provides interfaces to them.
| net.sf.hfst.WeightedTransducer.WeightedTransducer | ( | FileInputStream | file, |
| TransducerHeader | h, | ||
| TransducerAlphabet | a | ||
| ) | throws java.io.IOException |
Read a transducer from data.
| file | data stream pointing to transudcer binary |
| h | header read from the stream |
| a | alphabet read from the stream |
| Collection< String > net.sf.hfst.WeightedTransducer.analyze | ( | String | input | ) | throws NoTokenizationException |
Analyse a string.
| input | a token to analyse |
Reimplemented from net.sf.hfst.Transducer.
|
protected |
alphabet
|
protected |
weight
|
protected |
display vector
|
protected |
header
|
protected |
indices
|
protected |
input pointer
|
protected |
input string
|
protected |
letters
|
protected |
flag operations
|
protected |
output pointer
|
protected |
output string
|
protected |
states
|
protected |
transitions