One-stop text preprocessing package for NLP algorithm.
Project description
textprep
One-stop text preprocessing package for NLP algorithm.
from textprep import textprep
text1 = text1
text2 = textprep.textprep(text1)
- Fix contractions.
- Remove punctuation.
- Convert to lowercase.
- Remove stopwords.
- Lemmatitztion.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textprep-0.0.3.tar.gz
(1.5 kB
view details)
File details
Details for the file textprep-0.0.3.tar.gz.
File metadata
- Download URL: textprep-0.0.3.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e198aa2dbf9a4e4352393f8cce081e8146726cfa467f974ef563a8f651b38567
|
|
| MD5 |
1ee2adeff06270e15d74b53a370b44a9
|
|
| BLAKE2b-256 |
bbbc33a6b7b69fda1dd8ce8e7c674a9c3365109a0f9aa7c1d9ee0bebea9ae8d6
|