#67 · Primary category: NLP Tools & Text Processing
similarity
similarity: Text similarity calculation Toolkit for Java.
Project last updated:07/16/26
GitHub Stars
1.6K
Forks
343
Contributors
7
License
Apache-2.0
Why we included this project
Similarity is a Java toolkit for judging how close two pieces of text are, from single words up to whole paragraphs, and it runs as plain code with no model server to stand up. Alongside the usual edit distance, cosine, Jaccard, Jaro-Winkler, and SimHash measures, it adds Chinese-specific methods built on the Cilin synonym lexicon and HowNet, plus word-level sentiment tendency scores and approximate-word lookups. Teams doing Chinese NLP in particular will appreciate having those tasks covered inside a single JVM dependency instead of wiring together separate services. The dictionaries ship as plain text and models load lazily, so you can point the library at your own corpus without much setup.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量