dmcc / PyStanfordDependencies

Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies
https://pypi.python.org/pypi/PyStanfordDependencies
68 stars 17 forks source link

adding close() on temp file for fixing bug #15 and #51 #22

Closed mens2lux closed 7 years ago

mens2lux commented 7 years ago

Closing the temp file before trying to remove it. solving error code 32 "WindowsError: [Error 32] The process cannot access the file: tempfile" on bugs #15 and #51

dmcc commented 7 years ago

Sorry for the late response!