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.0.tar.gz (106.4 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.0-py3-none-any.whl (104.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kcntools-1.0.0.tar.gz
  • Upload date:
  • Size: 106.4 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.0.tar.gz
Algorithm Hash digest
SHA256 3ec4c5294b958bda9a20fa20841b168eccb0c85cccb8e7e1c672b1576b5e30ad
MD5 25e99d1718518980b6867ecf49ceaa59
BLAKE2b-256 bd22755f4abd57ecfc15fb665c6159031d6adc52a84b3449e72945e48635b570

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kcntools-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 104.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f767389083731d9784e9589e0a2082d0f313c40b5ea9bb500063b661e5c226d
MD5 9fc60b39333c6348c1b6b5f04edcd463
BLAKE2b-256 50477523b5e0308791328a6fa41cf852b365c41c6421ba14c880e7359d255cca

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