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.2.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file sonlp-1.0.2.tar.gz.

File metadata

  • Download URL: sonlp-1.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for sonlp-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4c32d6173030dca0ba93e31f68679c2416bc648bc728089e577d68efd7f4b54f
MD5 1aa968d415d7a10d9d47589931f01fae
BLAKE2b-256 ccc5d3e446b4e48c439de376eb6616d89d5236f23d0bcf4e0b34d93f39ecab0d

See more details on using hashes here.

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