Skip to content

A simple toolkit for natural language processing

License

Notifications You must be signed in to change notification settings

LemuriaChen/sonlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toolkit for natural language processing

Installation

pip install sonlp

Automatic Abbreviation for Text

Usage

  • Method 1 (Python API)
from sonlp import abbr
abbr.get_abbreviation(query='China Central Television')
abbr.get_fullname(query='CCTV')
  • Method 2 (Command Line)
abbr China Central Television
abbr -i CCTV

About

A simple toolkit for natural language processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages