Skip to main content

A Python package for matching unstructure job titles with China Standard Classifications of Occupations (CSCO).

Project description

cscoder

介绍

cscoder 是一个用于将非结构化职业名称匹配到中国标准职业分类(CSCO)代码的 Python 库。 它使用 SentenceTransformer 进行语义匹配,并支持多层级职业代码转换。

安装

pip 安装:

pip install cscoder==0.2.4

使用示例

from cscoder import CSCOder
 
# 初始化 CSCOder
coder = CSCOder()
 
# 匹配单个职业名称
result = coder.find_best_match("软件工程师")
print(result)
 
# 批量匹配
job_list = ["数据分析师", "产品经理", "注册会计师"]
results = coder.find_best_matches(job_list)
print(results)

贡献

欢迎贡献代码!如果你有任何改进建议,请提交 Issue 或 Pull Request:

  1. Fork 本仓库
  2. 创建新分支 (git checkout -b feature-branch)
  3. 提交修改 (git commit -m "添加新功能")
  4. 推送到你的 Fork (git push origin feature-branch)
  5. 创建 Pull Request

许可证

MIT License

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

cscoder-0.2.4.tar.gz (453.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cscoder-0.2.4-py3-none-any.whl (535.3 kB view details)

Uploaded Python 3

File details

Details for the file cscoder-0.2.4.tar.gz.

File metadata

  • Download URL: cscoder-0.2.4.tar.gz
  • Upload date:
  • Size: 453.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cscoder-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b47898cb84d2571604ef42767d0a3880b8a380934d4b4f99580bd2414d2ee1c5
MD5 a903a5c88804f20a5c23e5fb519bb6dc
BLAKE2b-256 a511dcc4b2b17900842cdc642ad45ab0ccf823d54e14b836816184912147ec62

See more details on using hashes here.

File details

Details for the file cscoder-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: cscoder-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 535.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cscoder-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35d27ca1950f49c2666e78bbd6ea3496a4ed47e2ceecfe15e5e20dbf0c880525
MD5 2cda14633e90715f8922daf5b32c8a0c
BLAKE2b-256 af4f0be09642a06c872e32be44f4bbe1f48bd68fb1f7e851b52940d89bae8c00

See more details on using hashes here.

Supported by

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