omorfi 0.9.9
Open morphology of Finnish
Public Member Functions
net.sf.hfst.WeightedTransducer.IndexTable Class Reference

Public Member Functions

 IndexTable (FileInputStream filestream, Integer indicesCount) throws java.io.IOException
 
Boolean isFinal (Integer index)
 
TransitionIndex at (Integer index)
 

Detailed Description

On instantiation reads the transducer's index table and provides an interface to it.

Constructor & Destructor Documentation

◆ IndexTable()

net.sf.hfst.WeightedTransducer.IndexTable.IndexTable ( FileInputStream  filestream,
Integer  indicesCount 
) throws java.io.IOException

Read index from transducer data.

Parameters
filestreamtransducer data stream at index position
indicesCountsize of index

Member Function Documentation

◆ at()

TransitionIndex net.sf.hfst.WeightedTransducer.IndexTable.at ( Integer  index)

Get index at position.

Parameters
indexindex of the state
Returns
index to transitions.

◆ isFinal()

Boolean net.sf.hfst.WeightedTransducer.IndexTable.isFinal ( Integer  index)

Whether state at index is final.

Parameters
indexindex of the state
Returns
true if final, else otherwise.

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