Skip to main content

distilNLP

distilNLP is a low-dependency, GPU-free natural language processing toolkit designed for building natural language processing applications and preprocessing for deep learning.

Install

pip install -U distilNLP

Usage

Text Normalize

Text normalization processing. Correct common character errors in text from the internet.

from distilnlp import text_normalize

norm = text_normalize('Proposed programme budget for the biennium 2006-2007: Section 29, Office of Internal Oversight Services。 ', lang='en')
# got: 'Proposed programme budget for the biennium 2006-2007: Section 29, Office of Internal Oversight Services。'

norm = text_normalize(' 2006-2007两年期拟议方案预算:😇第29款,内部监督事务厅.', lang='zh')
# got: '2006-2007两年期拟议方案预算:第29款,内部监督事务厅。'

norm = text_normalize('百度的网址是:  http://baidu.com', lang='zh')
# got: '百度的网址是: http://baidu.com'

Metadata

Release files for distilNLP 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for distilNLP 0.0.6
File Size Uploaded
distilNLP-0.0.6.tar.gz 58.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for distilNLP 0.0.6
File Interpreter ABI Platform
distilNLP-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 119.2 kB

Release files / distilNLP-0.0.6.tar.gz

Download URL distilNLP-0.0.6.tar.gz
Size 58.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dc330d4b95db7e0ad19024f54e5ab6c06814851f619b43885d7f9003ba29fea2
BLAKE2b-256 checksum
How to use checksums
48b09ea9f39ce13af49f8941d3a9f3ba07ab73e403e6fd04175bb66f87cc3e8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / distilNLP-0.0.6-py3-none-any.whl

Download URL distilNLP-0.0.6-py3-none-any.whl
Size 60.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bab6f0805a9474c4730d6d1facf474f10ff35904a4c620e7bdc32977db320ada
BLAKE2b-256 checksum
How to use checksums
2d2dfaaf283cb0897ed70b9c11c197df9984f7acbb6a20885bf364248e751578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release 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