public Tagger(TaggedData taggedData, int posBeamSize, int neBeamSize) { TrainingMode = false; HasPos = false; HasNe = false; PosPerceptron = null; NePerceptron = null; TaggedData = taggedData; PosBeamSize = posBeamSize; NeBeamSize = neBeamSize; PosDictionaries = new List <Dictionary>(); PosEmbeddings = new List <Embedding>(); NeDictionaries = new List <Dictionary>(); NeEmbeddings = new List <Embedding>(); PosLexicon = new Lexicon(); // ReSharper disable once VirtualMemberCallInConstructor ComputeOpenTags(); }
public PTBTagger(TaggedData taggedData, int posBeamSize, int neBeamSize) : base(taggedData, posBeamSize, neBeamSize) { }
public GenericTagger(TaggedData taggedData, int posBeamSize, int neBeamSize) : base(taggedData, posBeamSize, neBeamSize) { }