public MaximumEntropyPosTagger(int beamSize, SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary)
 {
     mBeamSize         = beamSize;
     mPosModel         = model;
     mContextGenerator = contextGenerator;
     Beam        = new PosBeamSearch(this, mBeamSize, contextGenerator, model);
     mDictionary = dictionary;
 }
 public EnglishMaximumEntropyPosTagger(string modelFile, PosLookupList dictionary)
     : base(GetModel(modelFile), new DefaultPosContextGenerator(), dictionary)
 {
 }
Пример #3
0
 public MaximumEntropyPosTagger(int beamSize, SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary)
 {
     UseClosedClassTagsFilter = false;
     this.BeamSize            = beamSize;
     this.PosModel            = model;
     this.ContextGenerator    = contextGenerator;
     Beam = new PosBeamSearch(this, this.BeamSize, contextGenerator, model);
     this.TagDictionary = dictionary;
 }
Пример #4
0
 public MaximumEntropyPosTagger(SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary) :
     this(DefaultBeamSize, model, contextGenerator, dictionary)
 {
 }
 public MaximumEntropyPosTagger(int beamSize, SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary)
 {
     mBeamSize = beamSize;
     mPosModel = model;
     mContextGenerator = contextGenerator;
     Beam = new PosBeamSearch(this, mBeamSize, contextGenerator, model);
     mDictionary = dictionary;
 }
 public MaximumEntropyPosTagger(SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary)
     : this(mDefaultBeamSize, model, contextGenerator, dictionary)
 {
 }
 public EnglishMaximumEntropyPosTagger(string modelFile, PosLookupList dictionary) : base(GetModel(modelFile), new DefaultPosContextGenerator(), dictionary)
 {
 }
 public MaximumEntropyPosTagger(SharpEntropy.IMaximumEntropyModel model, PosLookupList dictionary) : this(mDefaultBeamSize, model, new DefaultPosContextGenerator(), dictionary)
 {
 }
 public MaximumEntropyPosTagger(int beamSize, SharpEntropy.IMaximumEntropyModel model, IPosContextGenerator contextGenerator, PosLookupList dictionary)
 {
     UseClosedClassTagsFilter = false;
     this.BeamSize = beamSize;
     this.PosModel = model;
     this.ContextGenerator = contextGenerator;
     Beam = new PosBeamSearch(this, this.BeamSize, contextGenerator, model);
     this.TagDictionary = dictionary;
 }
 public MaximumEntropyPosTagger(SharpEntropy.IMaximumEntropyModel model, PosLookupList dictionary)
     : this(DefaultBeamSize, model, new DefaultPosContextGenerator(), dictionary)
 {
 }