Skip to main content

Tokenizer

Tokenizer different language fast.

Build a package

python setup.py bdist_wheel
twine upload dist/*

Use Locally

x1 = '<a>刘强东是一个著名企业家。</a> 他创建了京东。'
t = EncoderLoader.load_tokenizer('bert-base-chinese-zh_v4-10K')
print(t.tokenize(x1, mode='char'))
print(t.tokenize(x1, mode='word'))
print(t.tokenize(x1, mode='all'))

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

soco_tokenizer-1.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file soco_tokenizer-1.2-py3-none-any.whl.

File metadata

  • Download URL: soco_tokenizer-1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for soco_tokenizer-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b85446a1cdba2585902ec6b99bbfdc3cecb2e0eaf7f064e9515950e277d7e7
MD5 a456d842f625a0b5050673ddaf86a1f4
BLAKE2b-256 0835f78adc48dc485338a8bee7d0d2a2110dc1e0cffa7fdcb0524b63bdbcb9f2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2 This release

1 file

1.1

1 file

1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page