Skip to main content

Python bridge for IceNLP

https://img.shields.io/pypi/v/icenlp_bridge.svg https://img.shields.io/travis/sverrirab/icenlp_bridge.svg Documentation Status

Simplify using IceNLP (Icelandic NLP library written in Java)

Features

  • Run Icelandic NLP from python using a local IceNLP server and this library

Example

Start the local IceNLP server. For example using docker:

docker run -it --rm -p 1234:1234 sverrirab/icenlp

Install locally using:

pip install icenlp_bridge

Your code might look like this:

>>> from icenlp_bridge import parse
>>> print(parse('Vá hvað þetta var einfalt!'))

[InjP Vá au ] {*SUBJ [NP hvað fshen ] } {*SUBJ> [NP þetta fahen ] } [VPb var sfg3eþ ] {*COMP< [AP einfalt lhensf ] } ! !

You can also pipe files into icenlp_bridge

cat texti.txt | python -m icenlp_bridge

For connection options see python -m icenlp_bridge –help and init documentation.

Credits

This package is built on the excellent IceNLP library. Information on the docker image can be found on DockerHub.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2019-09-08)

  • First release on PyPI.

Metadata

Release files for icenlp-bridge 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icenlp-bridge 0.1.1
File Size Uploaded
icenlp_bridge-0.1.1.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icenlp-bridge 0.1.1
File Interpreter ABI Platform
icenlp_bridge-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 27.3 kB

Release files / icenlp_bridge-0.1.1.tar.gz

Download URL icenlp_bridge-0.1.1.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2649565a06a3481e54da02eb1bdfbb1ea9298022074b165fd7e90e33abe0d06c
BLAKE2b-256 checksum
How to use checksums
369e926de2c83b3b3b9d4ba0a8c462191e9a9660010b588967c13aaa0142324a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.19.8 CPython/3.7.6

Release files / icenlp_bridge-0.1.1-py2.py3-none-any.whl

Download URL icenlp_bridge-0.1.1-py2.py3-none-any.whl
Size 8.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc5ffec2d5ad138fb48668c161ae4e13341dbad61423edef60937cd6364b2811
BLAKE2b-256 checksum
How to use checksums
8af10608a3c2566d23bd2d81c951974da0967a60e9178d2d5226ee3e96fbfe85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.19.8 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page