Skip to main content

NER markup visualisation for Jupyter Notebook

Project description

NER markup visualisation for Jupyter Notebook.

from ipymarkup import Span, AsciiMarkup

text = 'a d a b a a a b c c c f d'
spans = [
  Span(0, 13, 'a'),
  Span(2, 25, 'd'),
  Span(6, 15, 'b'),
  Span(16, 21, 'c'),
  Span(22, 23, 'f'),
]
AsciiMarkup(text, spans)

>>> a d a b a a a b c c c f d
... a------------ c---- f
... d----------------------
... b--------

For more examples and explanation see ipymarkup documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ipymarkup-0.4.0-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ipymarkup-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ipymarkup-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/37.0.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.5.1

File hashes

Hashes for ipymarkup-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 56777842169784591c22f7126049faf79a8b20d165a3e838fc60692f0e1e75ff
MD5 75d468c9a0b63af7d9937a6a24543a89
BLAKE2b-256 35001bf0ee7e23fd3e12db85b9dfb4e40e9f0628fe3ec9a92fe63e7921a5b295

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page