CoreNLP icon indicating copy to clipboard operation
CoreNLP copied to clipboard

CleanXML in Python

Open CaptainCapitalizm opened this issue 5 years ago • 1 comments

Hello!

When using the CoreNLP Client, I am able to annotate text data using cleanxml. I can't seem to figure out, however, how to use the cleanxml options (clean.xmltags, clean.docAnnotations, etc) in Python. I've scoured for any documentation on the matter but have not been fortunate in my search. Any help would be much appreciated.

Cheers, Adrian

CaptainCapitalizm avatar Jan 30 '20 19:01 CaptainCapitalizm

Did you try -p from https://github.com/stanfordnlp/python-stanford-corenlp/blob/master/README.rst#command-line-usage ? I think that it should support props from file like java example here for Chinese.

mcavdar avatar Jan 30 '20 22:01 mcavdar