omorfi 0.9.9
Open morphology of Finnish
Data Structures | Public Member Functions | Protected Attributes
net.sf.hfst.UnweightedTransducer Class Reference
Inheritance diagram for net.sf.hfst.UnweightedTransducer:
net.sf.hfst.Transducer

Data Structures

class  IndexTable
 
class  Transition
 
class  TransitionIndex
 
class  TransitionTable
 

Public Member Functions

 UnweightedTransducer (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, FlagDiacriticOperationoperations
 
LetterTrie letterTrie
 
IndexTable indexTable
 
TransitionTable transitionTable
 
Vector< String > displayVector
 
int[] outputString
 
Vector< Integer > inputString
 
int outputPointer
 
int inputPointer
 

Detailed Description

Reads the header, alphabet, index table and transition table and provides interfaces to them.

Constructor & Destructor Documentation

◆ UnweightedTransducer()

net.sf.hfst.UnweightedTransducer.UnweightedTransducer ( FileInputStream  file,
TransducerHeader  h,
TransducerAlphabet  a 
) throws java.io.IOException

Read a transducer from data.

Parameters
filedata stream pointing to transudcer binary
hheader read from the stream
aalphabet read from the stream

Member Function Documentation

◆ analyze()

Collection< String > net.sf.hfst.UnweightedTransducer.analyze ( String  input) throws NoTokenizationException

Analyse a string.

Parameters
inputa token to analyse
Returns
all possible analyses for input

Reimplemented from net.sf.hfst.Transducer.

Field Documentation

◆ alphabet

TransducerAlphabet net.sf.hfst.UnweightedTransducer.alphabet
protected

alphabet

◆ displayVector

Vector<String> net.sf.hfst.UnweightedTransducer.displayVector
protected

display vector

◆ header

TransducerHeader net.sf.hfst.UnweightedTransducer.header
protected

header

◆ indexTable

IndexTable net.sf.hfst.UnweightedTransducer.indexTable
protected

indices

◆ inputPointer

int net.sf.hfst.UnweightedTransducer.inputPointer
protected

input pointer

◆ inputString

Vector<Integer> net.sf.hfst.UnweightedTransducer.inputString
protected

input string

◆ letterTrie

LetterTrie net.sf.hfst.UnweightedTransducer.letterTrie
protected

letters

◆ operations

Hashtable<Integer, FlagDiacriticOperation> net.sf.hfst.UnweightedTransducer.operations
protected

flag operations

◆ outputPointer

int net.sf.hfst.UnweightedTransducer.outputPointer
protected

output pointer

◆ outputString

int [] net.sf.hfst.UnweightedTransducer.outputString
protected

output string

◆ stateStack

Stack< int[] > net.sf.hfst.UnweightedTransducer.stateStack
protected

states

◆ transitionTable

TransitionTable net.sf.hfst.UnweightedTransducer.transitionTable
protected

transitions


The documentation for this class was generated from the following file: