jflexcrf
Class Model

java.lang.Object
  extended by jflexcrf.Model

public class Model
extends java.lang.Object

The Class Model.


Field Summary
 Dictionary taggerDict
          The tagger dict.
 FeatureGen taggerFGen
          The tagger f gen.
 Maps taggerMaps
          The tagger maps.
 Option taggerOpt
          The tagger opt.
 Viterbi taggerVtb
          The tagger vtb.
 
Constructor Summary
Model()
          Instantiates a new model.
Model(Option taggerOpt, Maps taggerMaps, Dictionary taggerDict, FeatureGen taggerFGen, Viterbi taggerVtb)
          Instantiates a new model.
 
Method Summary
 void inference(java.util.List seq)
          Inference.
 void inferenceAll(java.util.List data)
          Inference all.
 boolean init()
          Inits the.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taggerOpt

public Option taggerOpt
The tagger opt.


taggerMaps

public Maps taggerMaps
The tagger maps.


taggerDict

public Dictionary taggerDict
The tagger dict.


taggerFGen

public FeatureGen taggerFGen
The tagger f gen.


taggerVtb

public Viterbi taggerVtb
The tagger vtb.

Constructor Detail

Model

public Model()
Instantiates a new model.


Model

public Model(Option taggerOpt,
             Maps taggerMaps,
             Dictionary taggerDict,
             FeatureGen taggerFGen,
             Viterbi taggerVtb)
Instantiates a new model.

Parameters:
taggerOpt - the tagger opt
taggerMaps - the tagger maps
taggerDict - the tagger dict
taggerFGen - the tagger f gen
taggerVtb - the tagger vtb
Method Detail

init

public boolean init()
Inits the.

Returns:
true, if successful

inference

public void inference(java.util.List seq)
Inference.

Parameters:
seq - the seq

inferenceAll

public void inferenceAll(java.util.List data)
Inference all.

Parameters:
data - the data