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.2.2-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for ipymarkup-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 eccfb11b35240bdd2e91001176533714aa512ee766274c72064e19b13c64495f
MD5 0cbf3d96ebedd3c90f4bd5c0db87b1b8
BLAKE2b-256 84514d06f0741cc5e69dcd23be931b95099e35535b74d9a4e9ed360508e2b13d

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