CoreNLP
CoreNLP copied to clipboard
How should I render a visualization html in the demo style(http://corenlp.run/)?
I love the cool visualization of NER results from http://corenlp.run/ I want to change some part of it but do not know whether there are some API docs. For example, just highlight some kinds of NER label. Thanks for your reply~
Seems like brat tool was used to produce these visualisations. They have a guide about how to embed the visualisations into a page, using JavaScript.
To me, the markup brat produces looks pretty sensible, for instance, different NER labels have different classes (span_ORGANIZATION
and span_PERSON
). You should be able to achieve what you need by overriding CSS for particular classes.
Seems like brat tool was used to produce these visualisations. They have a guide about how to embed the visualisations into a page, using JavaScript.
To me, the markup brat produces looks pretty sensible, for instance, different NER labels have different classes (
span_ORGANIZATION
andspan_PERSON
). You should be able to achieve what you need by overriding CSS for particular classes.
Thanks for your reply~It's pretty useful.