1 . From XML to tagged corpus
1.1 . Creating tagged text
1.2 . Rendering xml to data frame
1.3 . Creating tagged texts
2 . Example query and concordances
In this post I’m documenting how to reformat the XML-formatted files outputted by the Stanford CoreNLP tool. This might not be the most elegant way to go about it, but this is something that works for me.