用于情感分析的Lucene 5.4.0 API

时间:2015-12-20 10:22:08

标签: lucene classification sentiment-analysis

我是否有任何示例或示例代码可以使用Lucene 5.4.0 API进行文本情感分析以获得极性分数?并且还可能使用其分类api包提供的不同分类方法?

1 个答案:

答案 0 :(得分:0)

使用Naive Bayes classifier可能是最好的方法。

您可以查看此博客explain how they used Apache Mahout来处理此任务。

正如您所提到的,您可以使用新的classification API from Lucene构建自己的实现。

您的答案在本教程中sample codes using the classification API