Palmetto is a quality measuring tool for topics
Branch: master
Clone or download
MichaelRoeder Merge pull request #21 from torhaa/fix-top-score-for-clusters-with-no…

c_v gave full score, 1.0, for clusters where none of the words ever occurred in the same document
Latest commit ab9fc9c Apr 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
webApp Updated the license of Palmetto. Oct 24, 2017
.gitignore Fixed the bug of the missing restlet jars. Increased restlet version … Oct 12, 2014
.travis.yml Added travis script for CI. Nov 9, 2016
LICENSE Update LICENSE Dec 2, 2017 Updated the travis build icon link. Jan 24, 2018

Build Status


Palmetto is a quality measuring tool for topics

This is the implementation of coherence calculations for evaluating the quality of topics. If you want to learn more about coherence calculations and their meaning for topic evaluation, take a look at the project homepage - especially at the publications.

Palmetto from DICE is licensed under a AGPL v3.0 License.

Please take a look at the the wikipage to read how Palmetto can be used.

If you are using Palmetto for an experiment or something similar that leads to a publication, please cite the paper "Exploring the Space of Topic Coherence Measures" that you can find on the project website. A link to the project website is welcome as well :)


The palmetto directory contains the Palmetto library.

The webApp directory contains a web application offering a small demo as well as a web service API for using Palmetto.


Palmetto can be used as a docker container. The container can be build and run from the webApp directory.

docker build -t palmetto .
docker run -p 7777:8080 -d -m 4G -v /path/to/indexes/:/usr/src/indexes/:ro palmetto`

After that there is a Tomcat listening on port 7777. The demo application can be accessed using http://localhost:7777/palmetto-webapp/index.html.