shibing624/similarity

similarity: Text similarity calculation Toolkit for Java. 文本相似度计算工具包,java编写,可用于文本相似度计算、情感分析等任务,开箱即用。

61
/ 100
Established

Provides hierarchical similarity algorithms across word, phrase, sentence, and paragraph granularities using methods like synonym lexicon encoding, morpho-syntactic analysis, and cosine similarity with TF-IDF weighting. Integrates HowNet semantic primitives for word-level sentiment analysis and Word2Vec embeddings for synonym recommendation, with lazy-loaded models and customizable training on user corpora. Designed as a modular, low-coupling NLP toolkit targeting Chinese text processing with plain-text dictionary distribution for transparency.

1,571 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

1,571

Forks

344

Language

Java

License

Apache-2.0

Last pushed

Jan 23, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/shibing624/similarity"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.