JAR下载及使用说明

JAR下载

1.篇章分析:NLPOutput output = HandleDoc.getHandleDoc(input); 查看详情

2.分词:List<String> breaked = Segment.getBreaked(content);查看详情

3.词性标注: List<Term> terms = HanLP.segment(content);查看详情

4.实体识别:List<ruc.nlp.term.ner.Entity> nes = NER_Model.GetEntityList(content);查看详情

5.情感分析(新闻):Integer score = Sentiment.getOpinion(Sentiment.getOpinionWord(breaked));查看详情

6.情感分析(微博):Integer score = Senti.getSentiment(doc);查看详情

6.关键词抽取:List<KeywordClass> keywords = Keywords.getKeywords(breaked, count);查看详情

7.摘要抽取:List<String> textSum = HanLP.extractSummary(doc, count);查看详情

8.专名抽取:List<String> nuggets = Common.getNugget(content);查看详情

9.情感词抽取:List<OpinionWord> opWords = Sentiment.getOpinionWord(breaked);查看详情

10.行政区划抽取:List<ChinaRegion> sRegions = ChinaRegionFinder.extractAllRegions(content, true);查看详情

11.新闻分类:String newsClassify = NewsClassify.getNewsClassify(title,content);查看详情

12.情感分析(篇章级):SentiDocClass docSenti = DocSentiment.getDocSentiment(doc, neural);查看详情