by carrot2

carrot2 /carrot2

Carrot2: Text Clustering Algorithms and Applications

441 Stars 162 Forks Last release: 2 months ago (release/4.0.0) 5.4K Commits 58 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


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:

Search result titles and snippets and corresponding cluster labels (right).

Build Status


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.


  • Developer documentation and examples are part of binary releases. Once downloaded and unpacked, start the DCS:

shell script
  cd 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

Source code is at GitHub.

Contact and more information

  • Issues, pull-requests, communication:


Carrot2 is licensed under the BSD license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.