Skip to main content

chinese-synonym-word

Project description

chinese-synonym-word

功能

中文常用词同义词|同类词|近义词, 同类词与近义词不严格区分

安装

pip install chinese-synonym-word==0.1.6

使用

from chinese_synonym_word.chinese_synonym_word import chinese_synonym_word

# 同义词
chinese_synonym_word.get_synonym_word_cl("桌子",is_strict=True)
# ['桌子', '台子', '案子', '桌', '台', '案', '几']

# 同类词
chinese_synonym_word.get_synonym_word_cl("桌子",is_strict=False)
# ['桌子', '台子', '案子', '桌', '台', '案', '几', '方桌', '八仙桌', '四仙桌', '圆桌', '圆台', '书桌', '书案', '写字台', '办公桌', '一头儿沉', '桌案', '梳妆台', '镜台', '条案', '条桌', '条几', '六仙桌', '炕桌', '餐桌', '供桌', '香案', '公案', '茶几', '三屉桌', '会议桌', '饭桌', '炕几', '茶桌', '长桌', '木桌', '谈判桌', '课桌', '围桌', '画案', '服务台', '乒乓球台', '售票台', '化验台', '柜台', '机台', '交换台', '球台', '手术台', '地震台', '圆桌面', '桌面', '桌椅', '桌椅板凳']

# 近义词
chinese_synonym_word.get_synonym_word_vec("桌子")
# ['椅子', '茶几', '凳子', '桌面', '方桌', '书桌', '桌', '办公桌', '写字台']

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chinese-synonym-word-0.1.6.tar.gz (42.1 MB view details)

Uploaded Source

Built Distribution

chinese_synonym_word-0.1.6-py3-none-any.whl (42.1 MB view details)

Uploaded Python 3

File details

Details for the file chinese-synonym-word-0.1.6.tar.gz.

File metadata

  • Download URL: chinese-synonym-word-0.1.6.tar.gz
  • Upload date:
  • Size: 42.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for chinese-synonym-word-0.1.6.tar.gz
Algorithm Hash digest
SHA256 05f12088c9d896d879528dad5e9a559685de0a8ec132ec011073a36615b96bf3
MD5 d685cf47bbfa00e8da08b317a2645efa
BLAKE2b-256 d8d41c7822ed4ef2d14d92ba418e7790b30afaeded76b88f771606ff714303b2

See more details on using hashes here.

File details

Details for the file chinese_synonym_word-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: chinese_synonym_word-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 42.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for chinese_synonym_word-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 89c35aa0a2be446f03167b71eaa4a2011890a56437d3c749b9d28b6794574498
MD5 00aa684448c6f23925b2254ee4b17adc
BLAKE2b-256 e65f332639f2f370e436f2cba54d27c30db5b1684eb7b7984a5dd3768af7cbbe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page