Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'stanza/server/ud_enhancer.py')
-rw-r--r--stanza/server/ud_enhancer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stanza/server/ud_enhancer.py b/stanza/server/ud_enhancer.py
index e3d64afa..92d6b7ff 100644
--- a/stanza/server/ud_enhancer.py
+++ b/stanza/server/ud_enhancer.py
@@ -72,7 +72,7 @@ def main():
nlp = stanza.Pipeline('en',
processors='tokenize,pos,lemma,depparse')
- with UniversalEnhancer(language="en", classpath="$CLASSPATH") as enhancer:
+ with UniversalEnhancer(language="en") as enhancer:
doc = nlp("This is the car that I bought")
result = enhancer.process(doc)
print(result.sentence[0].enhancedDependencies)