8000 my first complete commit · torotoki/stanford-corenlp-python@5b2a9f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b2a9f4

Browse files
author
jac2130
committed
my first complete commit
1 parent 87d2d44 commit 5b2a9f4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ The original wrapper only worked for extreemly short texts and it did not accept
1111

1212
## To use the new feature:
1313

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
1915

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())
2125

2226
If you instead type:
2327

0 commit comments

Comments
 (0)
0