omorfi 0.9.9
Open morphology of Finnish
Public Member Functions | Protected Attributes
net.sf.hfst.WeightedTransducer.TransitionIndex Class Reference

Public Member Functions

 TransitionIndex (int input, long firstTransition)
 
Boolean matches (int s)
 
Boolean isFinal ()
 
float getFinalWeight ()
 
long target ()
 
int getInput ()
 

Protected Attributes

int inputSymbol
 
long firstTransitionIndex
 

Detailed Description

a weighted transion index.

Constructor & Destructor Documentation

◆ TransitionIndex()

net.sf.hfst.WeightedTransducer.TransitionIndex.TransitionIndex ( int  input,
long  firstTransition 
)

create index

Parameters
inputinput symbol
firstTransitionindex

input symbol

index for first transition

Member Function Documentation

◆ getFinalWeight()

float net.sf.hfst.WeightedTransducer.TransitionIndex.getFinalWeight ( )

gets final weight.

Returns
weight

◆ getInput()

int net.sf.hfst.WeightedTransducer.TransitionIndex.getInput ( )

gets input symbol

Returns
input symbol key

◆ isFinal()

Boolean net.sf.hfst.WeightedTransducer.TransitionIndex.isFinal ( )

whether is final

Returns
true if final. false otherwise

◆ matches()

Boolean net.sf.hfst.WeightedTransducer.TransitionIndex.matches ( int  s)

whether index matches symbol

Parameters
sindex
Returns
true if matches, false otherwise

◆ target()

long net.sf.hfst.WeightedTransducer.TransitionIndex.target ( )

gets target

Returns
index of target

Field Documentation

◆ firstTransitionIndex

long net.sf.hfst.WeightedTransducer.TransitionIndex.firstTransitionIndex
protected

first transition index

◆ inputSymbol

int net.sf.hfst.WeightedTransducer.TransitionIndex.inputSymbol
protected

input symbol


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