public ChineseMarkovWordSegmenter(ChineseTreebankParserParams @params, IIndex <string> wordIndex, IIndex <string> tagIndex) { lex = new ChineseCharacterBasedLexicon(@params, wordIndex, tagIndex); this.wordIndex = wordIndex; this.tagIndex = tagIndex; }
public ChineseMarkovWordSegmenter(ChineseCharacterBasedLexicon lex, IIndex <string> wordIndex, IIndex <string> tagIndex) { this.lex = lex; this.wordIndex = wordIndex; this.tagIndex = tagIndex; }