shibing624/similarity
similarity: Text similarity calculation Toolkit for Java. 文本相似度计算工具包,java编写,可用于文本相似度计算、情感分析等任务,开箱即用。
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.
Stars
1,571
Forks
344
Language
Java
License
Apache-2.0
Category
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.
Related tools
eBay/Sequence-Semantic-Embedding
Tools and recipes to train deep learning models and build services for NLP tasks such as text...
RandolphVI/Text-Pairs-Relation-Classification
About Text Pairs (Sentence Level) Classification (Similarity Modeling) Based on Neural Network.
MartinoMensio/spacy-universal-sentence-encoder
Google USE (Universal Sentence Encoder) for spaCy
brianrisk/simphile-text-similarity-nlp
Python Text Similarity NLP Libray
nullnull/simstring
A Python implementation of the SimString, a simple and efficient algorithm for approximate...