Visualization of text annotations

Anyone know of examples for text annotation visualization?
Here is an example from here: http://nlp.cogcomp.org/
screen shot 2018-04-29 at 11 34 59 am

Basically, the goal is to create such graphs (text, some spans, and their edges), for a given text and its annotation on the fly.

If you have something like this, better to make it more explicit and highlight it, since this would bring so attention from AI and Natural Language Processing community to your library.

Daniel

Hi,

Offhand I would say that this is a fairly specialized kind of plot. I do think you could make a bokeh app or plot that did most of this, but I do not think it would be trivial. However it's worth nothing that at present Bokeh does not support directed graphs, or arrows with "curved" tails, so that might be a showstopper for the time being. In any case, since the actual size of text labels is really only available in the client/browser, and not in python, to really make a completely general solution that lay things out automatically with enough space between, etc. would requite making a custom extension that could access the text sizes. Essentially, this kind of thing seems like a nice candidate for a separate project built on top of Bokeh that caters to the specialized use-cases of the NLP community. If you are interested in embarking on that kind of work, I am happy to provide more guidance and information.

Thanks,

Bryan

···

On Apr 29, 2018, at 12:43, [email protected] wrote:

Anyone know of examples for text annotation visualization?
Here is an example from here: http://nlp.cogcomp.org/

Basically, the goal is to create such graphs (text, some spans, and their edges), for a given text and its annotation on the fly.

If you have something like this, better to make it more explicit and highlight it, since this would bring so attention from AI and Natural Language Processing community to your library.

Daniel

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/410e5c04-95dd-4c62-ab2a-8e13fc6d9ed0%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I would look at spacy - They have displacy. - opensource

As of v2.0, our popular visualizers, displaCy and displaCy ENT are finally an official part of the library. Visualizing a dependency parse or named entities in a text is not only a fun NLP demo – it can also be incredibly helpful in speeding up development and debugging your code and training process. If you’re running a Jupyter notebook, displaCy will detect this and return the markup in a format ready to be rendered and exported.

···

On Sun, Apr 29, 2018 at 12:59 PM, Bryan Van de ven [email protected] wrote:

Hi,

Offhand I would say that this is a fairly specialized kind of plot. I do think you could make a bokeh app or plot that did most of this, but I do not think it would be trivial. However it’s worth nothing that at present Bokeh does not support directed graphs, or arrows with “curved” tails, so that might be a showstopper for the time being. In any case, since the actual size of text labels is really only available in the client/browser, and not in python, to really make a completely general solution that lay things out automatically with enough space between, etc. would requite making a custom extension that could access the text sizes. Essentially, this kind of thing seems like a nice candidate for a separate project built on top of Bokeh that caters to the specialized use-cases of the NLP community. If you are interested in embarking on that kind of work, I am happy to provide more guidance and information.

Thanks,

Bryan

On Apr 29, 2018, at 12:43, [email protected] wrote:

Anyone know of examples for text annotation visualization?

Here is an example from here: http://nlp.cogcomp.org/

Basically, the goal is to create such graphs (text, some spans, and their edges), for a given text and its annotation on the fly.

If you have something like this, better to make it more explicit and highlight it, since this would bring so attention from AI and Natural Language Processing community to your library.

Daniel

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/410e5c04-95dd-4c62-ab2a-8e13fc6d9ed0%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/BC73EB97-7A74-4DEC-8BCC-2A5701938220%40anaconda.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Itay Livni