Skip to main content

NER markup visualisation for Jupyter Notebook

Project description

# ipymarkup [![Build Status](]( [![Coverage Status](](

NER markup visualisation for Jupyter Notebook.
<img src="table.png"/>

# Install

`ipymarkup` supports both Python 2.7+ / 3.4+, non Jupyter functionality should work on 2.7+ / 3.3+, PyPy but not tested

$ pip install ipymarkup

# Usage

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

For more examples and explanation see [ipymarkup documentation](

# License

Source code of `ipymarkup` is distributed under MIT license (allows modification and commercial usage)

# Support

- Chat —
- Issues —

Project details

Download files

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

Files for ipymarkup, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size ipymarkup-0.2.1-py2.py3-none-any.whl (13.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page