コード例 #1
0
 public ChineseMarkovWordSegmenter(ChineseTreebankParserParams @params, IIndex <string> wordIndex, IIndex <string> tagIndex)
 {
     lex            = new ChineseCharacterBasedLexicon(@params, wordIndex, tagIndex);
     this.wordIndex = wordIndex;
     this.tagIndex  = tagIndex;
 }
コード例 #2
0
 public ChineseMarkovWordSegmenter(ChineseCharacterBasedLexicon lex, IIndex <string> wordIndex, IIndex <string> tagIndex)
 {
     this.lex       = lex;
     this.wordIndex = wordIndex;
     this.tagIndex  = tagIndex;
 }