Metadata-Version: 2.0
Name: ipymarkup
Version: 0.4.0
Summary: NER markup visualisation for Jupyter Notebook
Home-page: https://github.com/natasha/ipymarkup
Author: Alexander Kukushkin
Author-email: alex@alexkuk.ru
License: MIT
Description-Content-Type: text/x-rst
Keywords: ner,markup,jupyter,ipython
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: intervaltree (==2.1.0)


ipymarkup 
=========

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 <http://nbviewer.jupyter.org/github/natasha/ipymarkup/blob/master/docs.ipynb>`_.


