Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public PTBTagger(TaggedData taggedData, int posBeamSize, int neBeamSize) : base(taggedData, posBeamSize, neBeamSize)
 {
 }
Exemplo n.º 3
0
 public GenericTagger(TaggedData taggedData, int posBeamSize, int neBeamSize) : base(taggedData, posBeamSize, neBeamSize)
 {
 }