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

Subprocess backend fails with NamedTemporaryFile on Windows #7

Closed dmcc closed 9 years ago

dmcc commented 9 years ago

Apparently, NamedTemporaryFile has problems on Windows causing the temporary file to be deleted too soon (http://stackoverflow.com/questions/15169101/how-to-create-a-temporary-file-that-can-be-read-by-a-subprocess).

Reported by Karin M. Sim Smith.