8000 Fix README · kowey/stanford-corenlp-python@6fd8101 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6fd8101

Browse files
committed
Fix README
1 parent 23a1253 commit 6fd8101

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
124124

125125
If you need longs texts (more than 30-50 sentences), you have to use a batch_parse function. It reads text files from input directory and returns generator object of parsed each file:
126126

127-
from corenlp import batch_process
128-
raw_text_directory = "sample_raw_text/"
129-
batch_process(raw_text_directory) # It returns a generator object of each file
127+
from corenlp import batch_process
128+
raw_text_directory = "sample_raw_text/"
129+
batch_process(raw_text_directory) # It returns a generator object of each file
130130

131131
## Developer
132132
* Hiroyoshi Komatsu [hiroyoshi.komat@gmail.com]
133133
* Johannes Castner [jac2130@columbia.edu]
134134

135135

136-
Following original README in stanford-corenlp-python.
136+
Following are the README in original stanford-corenlp-python.
137137

138138
-------------------------------------
139139

corenlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# classes
1313
from corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError
1414
# functions
15-
from corenlp import batch_parse, parse_parser_xml_results
15+
from corenlp import batch_parse

0 commit comments

Comments
 (0)
0