pythonnltknltk-trainer

Python NLTK visualization


I am currently doing natural language processing using python NLTK. I want to generate some beautiful graphics of the representation of input. What package can I do to get something like this?

enter image description here

enter image description here


Solution

  • Bokeh is the go-to visualization library for Python. Have a look at its gallery to see what it can do. I actually don't know if it can generate the kind of images you've shown though.

    Altair is another capable plotting library which kindly includes a few links to other libraries in its README: