Beispiel #1
0
 public MaximumEntropyPOSTagger(int beamSize, MaxEntropyModel_Interface model, IPosContextGenerator contextGenerator, Interfaces.PosLookupList dictionary)
 {
     mBeamSize         = beamSize;
     mPosModel         = model;
     mContextGenerator = contextGenerator;
     Beam        = new PosBeamSearch(this, mBeamSize, contextGenerator, model);
     mDictionary = dictionary;
 }
Beispiel #2
0
 public EnglishMaximumEntropyPosTagger(string modelFile, Interfaces.PosLookupList dictionary) : base(GetModel(modelFile), new POS_ContextGenerator(), dictionary)
 {
 }
Beispiel #3
0
 public MaximumEntropyPOSTagger(MaxEntropyModel_Interface model, IPosContextGenerator contextGenerator, Interfaces.PosLookupList dictionary) : this(mDefaultBeamSize, model, contextGenerator, dictionary)
 {
 }