looking for a java library with a simple to calculate tf–idf, term frequency–inverse document frequency [closed]

StackOverflow https://stackoverflow.com/questions/17015658

  •  31-05-2022
  •  | 
  •  

문제

I need to calculate tf-idf for a set of documents and am looking for a java library that does this.

NOTE: I am aware of Mahout but I really want is a library with a simple interface and one that does not require infrastructure setup.

도움이 되었습니까?

해결책

Mahout is easy to use and install. All you need is JDK environment and maven. how to install mahout

Also you could use hadoop with mahout, which is not a must (you could run mahout locally without hadoop). However you could find this blog helpful for install hadoop.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top