Carrot2 is a programming library for clustering text. It can automatically discover groups of related documents and label them with short key terms or phrases.
Carrot2 can turn, for example, search result titles and snippets into groups like these:
Carrot2 is a software component and typically integrates with other software as a library dependency (see the API documentation available with each release).
Binary releases are published on GitHub and they ship with a HTTP/JSON REST API service called the DCS (document clustering server) for integration with other languages.
Integration with document retrieval services is possible via Apache Solr plugin and Elasticsearch plugin.
If you need to build the distribution from sources, run:
./gradlew -p distribution assemble
The distribution is placed under distribution/build/dist/ and a compressed version is available at distribution/build/distZip/
-
The documentation for the latest release is always at https://carrot2.github.io/release/latest.
-
Developer documentation and examples are part of binary releases. Once downloaded and unpacked, start the DCS:
cd dcs ./dcs
and open the documentation at localhost:8080/doc/ or JavaDoc API reference localhost:8080/javadoc/.
-
Additional information is published on the project's wiki pages.
Source code is at GitHub.
- Issues, pull-requests, communication:
https://github.com/carrot2/carrot2
Carrot2 is licensed under the BSD license.