#194194th of 206 in ML frameworks and libraries

synonyms

Chinese synonym lookup and sentence similarity library built on word2vec vectors

Stars
5.1k
License
custom license
Last commit
Feb 2026
Last release
Jan 2021
Language
Python
Stars, last 29 weeks+27
22 Apr 2026: 5,081 stars29 Apr 2026: 5,081 stars6 May 2026: 5,083 stars13 May 2026: 5,086 stars20 May 2026: 5,087 stars27 May 2026: 5,089 stars3 Jun 2026: 5,091 stars10 Jun 2026: 5,091 stars17 Jun 2026: 5,095 stars24 Jun 2026: 5,096 stars1 Jul 2026: 5,096 stars8 Jul 2026: 5,096 stars15 Jul 2026: 5,097 stars22 Jul 2026: 5,097 stars29 Jul 2026: 5,099 stars5 Aug 2026: 5,099 stars12 Aug 2026: 5,101 stars19 Aug 2026: 5,102 stars26 Aug 2026: 5,102 stars2 Sept 2026: 5,103 stars9 Sept 2026: 5,103 stars16 Sept 2026: 5,103 stars23 Sept 2026: 5,103 stars30 Sept 2026: 5,103 stars7 Oct 2026: 5,104 stars14 Oct 2026: 5,104 stars21 Oct 2026: 5,104 stars28 Oct 2026: 5,105 stars4 Nov 2026: 5,106 stars11 Nov 2026: 5,108 stars

5,081 on 22 Apr 20265,108 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Python package for Chinese NLP that returns nearest-neighbor words, sentence similarity scores, word vectors, jieba-based segmentation and keyword extraction. It uses a word2vec vector file with a 435,729-word vocabulary. The vector model download requires a paid license id from the Chatopera store, set through the SYNONYMS_DL_LICENSE environment variable.

Who it is for: Python developers doing Chinese text similarity, keyword extraction or retrieval

Strengths

  • Small API: nearby, compare, v, sv, bow, seg, keywords
  • Benchmark reports 0.209 usec per nearby call on a 4-core MacBook with 8GB
  • Installs from PyPI; env vars let you swap the vector file and segmentation dictionary
  • Vocabulary of 435,729 words built from Wikipedia-derived data

Weaknesses

  • Model download needs a paid license purchased from the Chatopera store
  • License is Chunsong v1.0, but the README statement still says MIT
  • Cannot add words to the vocabulary; out-of-vocabulary words return empty results
  • Chinese only, static word2vec vectors; last release was January 2021

What it needs

  • Needs Chatopera license store (paid license id), jieba
  • Models: word2vec binary vectors

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in ML frameworks and libraries

See all 206
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168.9k stars+1,573 (+0.9%) in 30 daysApache-2.094 out of 100
2ultralyticsPython library and CLI for training and running YOLO vision models63.3k stars+1,004 (+1.6%) in 30 daysAGPL-3.094 out of 100
3pytorchPython tensor library with GPU support and tape-based autograd105.5k stars+1,036 (+1.0%) in 30 dayscustom license93 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts37.3k stars+107 (+0.3%) in 30 daysApache-2.093 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.6k stars+521 (+1.0%) in 30 daysMIT92 out of 100