python-vncorenlp
A Python wrapper for VnCoreNLP using Pyjnius
Table Of Contents
Prerequisites
Installation
You can install this package from PyPI using pip:
$ pip install python-vncorenlp
Example
#!/usr/bin/python
# -*- coding: utf-8 -*-
from python_vncorenlp import install, Pipeline
install('-Xmx2g')
def main():
pipeline = Pipeline()
pipeline.load_model()
print(pipeline.annotate_doc('Tôi là chàng sinh viên Bách Khoa'))
print(pipeline.annotate_docs([
'Tôi là chàng sinh viên Bách Khoa',
'Tôi học Toán tin ứng dụng'
]))
if __name__ == '__main__':
main()
The parameter -Xmx2g means that the VM can allocate a maximum of 2 GB for the Heap Space. If you want to use all module, set heap space to -Xmx4g
Metadata
Release files for python-vncorenlp 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_vncorenlp-0.1.8.tar.gz | 45.9 MB | Without provenance | Details for python_vncorenlp-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_vncorenlp-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for python_vncorenlp-0.1.8-py3-none-any.whl |
Total release size: 91.9 MB
Release files / python_vncorenlp-0.1.8.tar.gz
| Download URL | python_vncorenlp-0.1.8.tar.gz |
|---|---|
| Size | 45.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f73947fe44bc8440ecad1e68c9b9505bc6198d7e1d5496cfddfe0055bbf3defa
|
|
BLAKE2b-256 checksum How to use checksums |
8a8e3bd1b663ad5d88afebaefd7002bfd5ec16f0d790da64bf22429dc131f4c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8
|
Release files / python_vncorenlp-0.1.8-py3-none-any.whl
| Download URL | python_vncorenlp-0.1.8-py3-none-any.whl |
|---|---|
| Size | 46.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0e8144309cb9aadb38ff527543d149d3677e8001a1418e3941715c7fcca2723
|
|
BLAKE2b-256 checksum How to use checksums |
ba9631f3a125abf5c62e1c4c86729a099f8920fe82a794e36888239bec34a5dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8
|
Security for python-vncorenlp 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.