INNER CODE UNIT · Java

splitWordInSentences

jsksxs360/AHANLP · src/me/xiaosheng/chnlp/AHANLP.java:150

    public static List<List<Term>> splitWordInSentences(String segType, List<String> sentenceList, boolean filterStopWord) {
        return Segment.splitWordInSentences(segType, sentenceList, filterStopWord);
    }
    
    /**
     * 命名实体识别<br>
     * 感知机和CRF模型
     * @param content 文本
     * @return 实体列表
     */
    public static List<NERTerm> NER(String content) {
        return me.xiaosheng.chnlp.seg.NER.namedEntityRecognition(content);
    }
    
    /**
     * 提取关键词
     * @param document 文档
     * @param num 关键词数量

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…