A simple toolkit for natural language processing
Project description
## A toolkit for natural language processing
### Installation
`shell script pip install sonlp `
### Automatic Abbreviation for Text
#### Usage
Method 1 (Python API)
`python from sonlp import abbr abbr.get_abbreviation(query='China Central Television') abbr.get_fullname(query='CCTV') `
Method 2 (Command Line)
`shell script abbr China Central Television abbr -i CCTV `
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
sonlp-1.0.3.tar.gz
(3.1 kB
view details)
File details
Details for the file sonlp-1.0.3.tar.gz
.
File metadata
- Download URL: sonlp-1.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1699f5f6f0992ff81d648d02fbac6be3d31235aaa6722ab1e95ac022eb8e228e |
|
MD5 | 2d272d22ed518571398ac298868fb34e |
|
BLAKE2b-256 | cbd3b19d5163a65a1b4b9717d0dbc9c1547f2cd4a01b1809a3eb8352be0b760d |