Пример #1
0
 public TokenBase(int wordId, string surface, ViterbiNode.NodeType type, int position, IDictionary dictionary)
 {
     WordId     = wordId;
     Surface    = surface;
     Type       = type;
     Position   = position;
     Dictionary = dictionary;
 }
Пример #2
0
 public TokenBase(int wordId, string surface, ViterbiNode.NodeType type, int position, IDictionary dictionary)
 {
     this.wordId     = wordId;
     this.surface    = surface;
     this.type       = type;
     this.position   = position;
     this.dictionary = dictionary;
 }
Пример #3
0
 public Token(int wordId, string surface, ViterbiNode.NodeType type, int position, IDictionary dictionary) : base(wordId, surface, type, position, dictionary)
 {
 }
Пример #4
0
 public Token CreateToken(int wordId, string surface, ViterbiNode.NodeType type, int position, IDictionary dictionary)
 {
     return(new Token(wordId, surface, type, position, dictionary));
 }