public class CRFLexicalAnalyzer extends AbstractLexicalAnalyzer
enableRuleBasedSegment, neRecognizer, posTagger, segmenter, typeTableconfig, customDictionary| Constructor and Description |
|---|
CRFLexicalAnalyzer()
加载配置文件指定的模型
|
CRFLexicalAnalyzer(CRFSegmenter segmenter)
构造CRF词法分析器
|
CRFLexicalAnalyzer(CRFSegmenter segmenter,
CRFPOSTagger posTagger)
构造CRF词法分析器
|
CRFLexicalAnalyzer(CRFSegmenter segmenter,
CRFPOSTagger posTagger,
CRFNERecognizer neRecognizer)
构造CRF词法分析器
|
CRFLexicalAnalyzer(String cwsModelPath)
构造CRF词法分析器
|
CRFLexicalAnalyzer(String cwsModelPath,
String posModelPath)
构造CRF词法分析器
|
CRFLexicalAnalyzer(String cwsModelPath,
String posModelPath,
String nerModelPath)
构造CRF词法分析器
|
acceptCustomWord, analyze, combineWithCustomDictionary, enableRuleBasedSegment, getNERTagSet, recognize, roughSegSentence, segment, segment, segment, segment, segmentAfterRule, segSentence, tag, tagguessAttribute, toVertexListatomSegment, combineByCustomDictionary, combineByCustomDictionary, combineByCustomDictionary, combineByCustomDictionary, convert, enableAllNamedEntityRecognize, enableCustomDictionary, enableCustomDictionary, enableCustomDictionaryForcing, enableIndexMode, enableIndexMode, enableJapaneseNameRecognize, enableMultithreading, enableMultithreading, enableNameRecognize, enableNumberQuantifierRecognize, enableOffset, enableOrganizationRecognize, enablePartOfSpeechTagging, enablePlaceRecognize, enableTranslatedNameRecognize, mergeNumberQuantifier, quickAtomSegment, seg, seg, seg2sentence, seg2sentence, simpleAtomSegmentpublic CRFLexicalAnalyzer(CRFSegmenter segmenter)
segmenter - CRF分词器public CRFLexicalAnalyzer(CRFSegmenter segmenter, CRFPOSTagger posTagger)
segmenter - CRF分词器posTagger - CRF词性标注器public CRFLexicalAnalyzer(CRFSegmenter segmenter, CRFPOSTagger posTagger, CRFNERecognizer neRecognizer)
segmenter - CRF分词器posTagger - CRF词性标注器neRecognizer - CRF命名实体识别器public CRFLexicalAnalyzer(String cwsModelPath) throws IOException
cwsModelPath - CRF分词器模型路径IOExceptionpublic CRFLexicalAnalyzer(String cwsModelPath, String posModelPath) throws IOException
cwsModelPath - CRF分词器模型路径posModelPath - CRF词性标注器模型路径IOExceptionpublic CRFLexicalAnalyzer(String cwsModelPath, String posModelPath, String nerModelPath) throws IOException
cwsModelPath - CRF分词器模型路径posModelPath - CRF词性标注器模型路径nerModelPath - CRF命名实体识别器模型路径IOExceptionpublic CRFLexicalAnalyzer()
throws IOException
IOExceptionCopyright © 2014–2021 码农场. All rights reserved.