• Stars
    star
    114
  • Rank 307,970 (Top 7 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CKIP CoreNLP Toolkits

CKIP CoreNLP Toolkit

Features

  • Sentence Segmentation
  • Word Segmentation
  • Part-of-Speech Tagging
  • Named-Entity Recognition
  • Constituency Parsing
  • Coreference Resolution

Git

https://github.com/ckiplab/ckipnlp

GitHub Version GitHub Release GitHub Issues

PyPI

https://pypi.org/project/ckipnlp

PyPI Version PyPI License PyPI Downloads PyPI Python PyPI Implementation PyPI Status

Documentation

https://ckipnlp.readthedocs.io/

ReadTheDocs Home

Online Demo

https://ckip.iis.sinica.edu.tw/service/corenlp

Contributers

Installation

Requirements

Driver Requirements

Driver Built-in CkipTagger CkipClassic
Sentence Segmentation ✔    
Word Segmentation†   ✔ ✔
Part-of-Speech Tagging†   ✔ ✔
Constituency Parsing     ✔
Named-Entity Recognition   ✔  
Coreference Resolution‡ ✔ ✔ ✔
  • † These drivers require only one of either backends.
  • ‡ Coreference implementation does not require any backend, but requires results from word segmentation, part-of-speech tagging, constituency parsing, and named-entity recognition.

Installation via Pip

  • No backend (not recommended): pip install ckipnlp.
  • With CkipTagger backend (recommended): pip install ckipnlp[tagger] or pip install ckipnlp[tagger-gpu].
  • With CkipClassic Parser Client backend (recommended): pip install ckipnlp[classic].
  • With CkipClassic offline backend: Please refer https://ckip-classic.readthedocs.io/en/latest/main/readme.html#installation for CkipClassic installation guide.

Attention!

To use CkipClassic Parser Client backend, please

  1. Register an account at http://parser.iis.sinica.edu.tw/v1/reg.php
  2. Set the username and password in the pipeline's options:
pipeline = CkipPipeline(opts={'con_parser': {'username': YOUR_USERNAME, 'password': YOUR_PASSWORD})

Detail

See https://ckipnlp.readthedocs.io/ for full documentation.

License

GPL-3.0

Copyright (c) 2018-2023 CKIP Lab under the GPL-3.0 License.