Wordseer / stanford-corenlp-python

Python wrapper for Stanford CoreNLP tools
GNU General Public License v2.0
58 stars 27 forks source link

XML output parser looks for files in the wrong place... #15

Open diegantobass opened 8 years ago

diegantobass commented 8 years ago

When using batch_parse() from the module, the parse_xml_output function in corenlp.py @ line 287 is missing a '/' in the path to the output_file

l. 287 should be : with open(os.path.join(xml_dir + "/" + output_file), 'r') as xml: