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 hashes)