Skip to main content

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page