Closed chaojiewang94 closed 1 year ago
There is no Python interface to the Java scenegraph, unfortunately. What are you looking for?
I wonder if I can use the client (https://stanfordnlp.github.io/stanza/corenlp_client.html) to access the scenegraph in CoreNLP (https://github.com/stanfordnlp/CoreNLP/tree/ef9022322c14bbafab18a0002173e56ae377d6ef/src/edu/stanford/nlp/scenegraph)
or you can provide other more straightforward ways to achieve similar results?
python interface released in 1.5.1
@AngledLuffa can u provide your demo code to use client.secengraph, thanks, there are stil some bugs during my calling the API of stanza 1.5.1
what failure are you getting?
this works for me with the latest CoreNLP (4.5.5) and the latest stanza (1.5.1)
https://github.com/stanfordnlp/stanza/commit/b63fdfe97dda1a383fcf1c8d95f0101481a6a709
Thanks for sharing. I wonder if you have included the implemantion of scene graph (https://nlp.stanford.edu/software/scenegraph-parser.shtml) in the current version of stanza?
If so, can you share a demo for how to transfer a sentence to a scene graph, thanks.