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

If you're not sure about the file name format, learn more about wheel file names.

ipymarkup-0.3.0-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ipymarkup-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1a90e9df57ddaee6fee91e73fee112e85e17371cb5b72522b57d7df6dafe1efb
MD5 29266644f22db795ef34384720850bfd
BLAKE2b-256 e8f3732065842aeb21cc169a7f741181eaa899de8604bfebd8e46cf40ec709ad

See more details on using hashes here.

Supported by

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