Skip to main content

kc ai nlp tools

Project description

KCNtools Pip Project

Python Logo

这是一个NLP的python项目,目的是解决ai项目组中常用到的NLP工具集合,该工具提供基本的字符串搜索,nromaize等工具

Requirements

Python 3.8 or later with all requirements.txt dependencies installed, including build and twine. To install run:

python -m pip install -U pip
pip install -r requirements.txt

Pip Package Steps

https://pypi.org/

# Build and upload https://pypi.org/
rm -rf build dist && python3 -m build && python3 -m twine upload -r ezone_snapshot_pypi_ai-repo dist/*
# username: __token__
# password: pypi-AgENdGVzdC5weXBpLm9yZ...

# Download and install
pip install -U kcntools

some sample python code

from kcntools.strutils import normalize
from kcntools.chutils import wordLen,charSplit,charType
from kcntools.darray import Compile 
# 规范化同形异码字
print(normalize('test code !这是一个测试,看看?'))
print(wordLen('test code !这是一个测试,看看?'))

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

kcntools-1.0.2.tar.gz (142.0 kB view details)

Uploaded Source

Built Distribution

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

kcntools-1.0.2-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file kcntools-1.0.2.tar.gz.

File metadata

  • Download URL: kcntools-1.0.2.tar.gz
  • Upload date:
  • Size: 142.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for kcntools-1.0.2.tar.gz
Algorithm Hash digest
SHA256 de406ff7d87093fda00904f115d6d2e3415114e4532fff35dbd69433460a256e
MD5 4e73918347581794f6873855b84b652f
BLAKE2b-256 5de89517ca8a4cc12461cdcd5cabbc623961b8bce83977925a00d84e3fccf7fd

See more details on using hashes here.

File details

Details for the file kcntools-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: kcntools-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for kcntools-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aaa2de9fc8ba6c351114c6c05ee49152ea391d8e0a782e58c9c37e03bf69a73f
MD5 a8cb5af496fdcd77a14acc409349f8aa
BLAKE2b-256 35788fb9250575db257c2ec89f9abb3733d4b072ecf5704f60df612b07b55725

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