https://github.com/ckiplab/ckipnlp
CKIP CoreNLP Toolkits
https://github.com/ckiplab/ckipnlp
ckip coreference-resolution named-entity-recognition nlp part-of-speech-tagging sentence-parsing sentence-segmentation word-segmentation
Last synced: about 1 year ago
JSON representation
CKIP CoreNLP Toolkits
- Host: GitHub
- URL: https://github.com/ckiplab/ckipnlp
- Owner: ckiplab
- License: gpl-3.0
- Created: 2019-04-01T03:37:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T05:40:09.000Z (about 3 years ago)
- Last Synced: 2025-03-24T08:43:09.438Z (about 1 year ago)
- Topics: ckip, coreference-resolution, named-entity-recognition, nlp, part-of-speech-tagging, sentence-parsing, sentence-segmentation, word-segmentation
- Language: Python
- Homepage: https://ckipnlp.readthedocs.io
- Size: 573 KB
- Stars: 119
- Watchers: 8
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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|
.. |GitHub Version| image:: https://img.shields.io/github/v/release/ckiplab/ckipnlp.svg?maxAge=3600
:target: https://github.com/ckiplab/ckipnlp/releases
.. |GitHub License| image:: https://img.shields.io/github/license/ckiplab/ckipnlp.svg?maxAge=3600
:target: https://github.com/ckiplab/ckipnlp/blob/master/LICENSE
.. |GitHub Release| image:: https://img.shields.io/github/release-date/ckiplab/ckipnlp.svg?maxAge=3600
.. |GitHub Downloads| image:: https://img.shields.io/github/downloads/ckiplab/ckipnlp/total.svg?maxAge=3600
:target: https://github.com/ckiplab/ckipnlp/releases/latest
.. |GitHub Issues| image:: https://img.shields.io/github/issues/ckiplab/ckipnlp.svg?maxAge=3600
:target: https://github.com/ckiplab/ckipnlp/issues
.. |GitHub Forks| image:: https://img.shields.io/github/forks/ckiplab/ckipnlp.svg?style=social&label=Fork&maxAge=3600
.. |GitHub Stars| image:: https://img.shields.io/github/stars/ckiplab/ckipnlp.svg?style=social&label=Star&maxAge=3600
.. |GitHub Watchers| image:: https://img.shields.io/github/watchers/ckiplab/ckipnlp.svg?style=social&label=Watch&maxAge=3600
PyPI
^^^^
https://pypi.org/project/ckipnlp
|PyPI Version| |PyPI License| |PyPI Downloads| |PyPI Python| |PyPI Implementation| |PyPI Status|
.. |PyPI Version| image:: https://img.shields.io/pypi/v/ckipnlp.svg?maxAge=3600
:target: https://pypi.org/project/ckipnlp
.. |PyPI License| image:: https://img.shields.io/pypi/l/ckipnlp.svg?maxAge=3600
:target: https://github.com/ckiplab/ckipnlp/blob/master/LICENSE
.. |PyPI Downloads| image:: https://img.shields.io/pypi/dm/ckipnlp.svg?maxAge=3600
:target: https://pypi.org/project/ckipnlp#files
.. |PyPI Python| image:: https://img.shields.io/pypi/pyversions/ckipnlp.svg?maxAge=3600
.. |PyPI Implementation| image:: https://img.shields.io/pypi/implementation/ckipnlp.svg?maxAge=3600
.. |PyPI Format| image:: https://img.shields.io/pypi/format/ckipnlp.svg?maxAge=3600
.. |PyPI Status| image:: https://img.shields.io/pypi/status/ckipnlp.svg?maxAge=3600
Documentation
^^^^^^^^^^^^^
https://ckipnlp.readthedocs.io/
|ReadTheDocs Home|
.. |ReadTheDocs Home| image:: https://img.shields.io/website/https/ckipnlp.readthedocs.io.svg?maxAge=3600&up_message=online&down_message=offline
:target: https://ckipnlp.readthedocs.io
Online Demo
^^^^^^^^^^^
https://ckip.iis.sinica.edu.tw/service/corenlp
Contributers
^^^^^^^^^^^^
* `Mu Yang `__ at `CKIP `__ (Author & Maintainer)
* `Wei-Yun Ma `__ at `CKIP `__ (Maintainer)
* `DouglasWu `__
Installation
------------
Requirements
^^^^^^^^^^^^
* `Python `__ 3.6+
* `TreeLib `__ 1.5+
* `CkipTagger `__ 0.2.1+ [Optional, Recommended]
* `CkipClassic `__ 1.0+ [Optional, Recommended]
* `TensorFlow / TensorFlow-GPU `__ 1.13.1+ [Required by CkipTagger]
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
#. Register an account at http://parser.iis.sinica.edu.tw/v1/reg.php
#. Set the username and password in the pipeline's options:
.. code-block:: python
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 `__.
.. |GPL-3.0| image:: https://www.gnu.org/graphics/gplv3-with-text-136x68.png
:target: https://www.gnu.org/licenses/gpl-3.0.html