Package | Description |
---|---|
org.ansj.app.keyword | |
org.ansj.app.summary | |
org.ansj.app.summary.pojo |
Modifier and Type | Method and Description |
---|---|
List<Keyword> |
KeyWordComputer.computeArticleTfidf(String content)
只有正文
|
List<Keyword> |
KeyWordComputer.computeArticleTfidf(String title,
String content) |
Modifier and Type | Method and Description |
---|---|
int |
Keyword.compareTo(Keyword o) |
Modifier and Type | Method and Description |
---|---|
String |
TagContent.tagContent(List<Keyword> keyWords,
String content) |
Summary |
SummaryComputer.toSummary(List<Keyword> keywords)
计算摘要,传入用户自己算好的关键词
|
Modifier and Type | Method and Description |
---|---|
List<Keyword> |
Summary.getKeyWords() |
Constructor and Description |
---|
Summary(List<Keyword> keyWords,
String summary) |
Copyright © 2020. All rights reserved.