PyStanfordDependencies icon indicating copy to clipboard operation
PyStanfordDependencies copied to clipboard

Python interface for converting Penn Treebank trees to Stanford Dependencies and Universal Depenencies

Results 8 PyStanfordDependencies issues
Sort by recently updated
recently updated
newest added

He, I wrapped your library in a flask app and had JPype fail due to an unsafe thread issue. I had to modify the JPypeBackend.py file to attach the thread...

I ran into an error with this tree from CoNLL-2012 dataset: ``` In [1]: import StanfordDependencies In [2]: sd = StanfordDependencies.get_instance() In [3]: sd.convert_trees(['(TOP (S (CC But) (PRN (S (NP...

CoreNLP version 3.6.0 has (at least) two changes which break PyStanfordDependencies: - [x] `stemStaticSynchronized` was renamed to `stemStatic` - [ ] This stack trace shows up for all `SubprocessBackend` conversion...

bug

Hi David, I'm trying the example to produce dependencies from a parsed sentence using Stanford Parser. When I use your code: sd = StanfordDependencies.get_instance(jar_filename="/home/stanford-parser/stanford-parser.jar") it pops up the error: UserWarning:...

edited registry to 1.7 then got JavaRuntimeVersionError too old must use 1.8+ for CoreNLP I am using the jar_filename parameter to point to the recent stanford-parser.jar Thanks!

This would involve at least the following: 1. ~~Add the `-originalDependencies` option for both backends.~~ 2. Find a way to download the [feature mapping](https://github.com/stanfordnlp/CoreNLP/blob/master/data/edu/stanford/nlp/ud/feature_map.txt) and include it in the classpath....

enhancement

Untested, so maybe already works (at least for subprocess).

enhancement
help wanted

Either by fixing the encoding issues or temporarily replacing them with dummy ASCII words. Thanks to Karin M. Sim Smith for the report. Temporary workaround: If possible, don't pass trees...

bug
help wanted