File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,17 @@ The original wrapper only worked for extreemly short texts and it did not accept
11
11
12
12
## To use the new feature:
13
13
14
- import sys
15
- sys.path.append("[ full-path] /corenlp-python/corenlp")
16
- from collections import OrderedDict
17
- corenlp_dir = "[ full-path] /corenlp-python/stanford-corenlp-full-2013-04-04"
18
- corenlp = StanfordCoreNLP(corenlp_dir)
14
+ import sys
19
15
20
- parse_dict=eval(corenlp.parse())
16
+ sys.path.append("[full-path]/corenlp-python/corenlp")
17
+
18
+ from collections import OrderedDict
19
+
20
+ corenlp_dir = "[full-path]/corenlp-python/stanford-corenlp-full-2013-04-04"
21
+
22
+ corenlp = StanfordCoreNLP(corenlp_dir)
23
+
24
+ parse_dict=eval(corenlp.parse())
21
25
22
26
If you instead type:
23
27
You can’t perform that action at this time.
0 commit comments