Commits

Hiroyoshi Komatsu committed 6fd8101

Fix README

  • Participants
  • Parent commits 23a1253

Comments (0)

Files changed (2)

 
 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:
 
-   from corenlp import batch_process
-   raw_text_directory = "sample_raw_text/"
-   batch_process(raw_text_directory)  # It returns a generator object of each file
+    from corenlp import batch_process
+    raw_text_directory = "sample_raw_text/"
+    batch_process(raw_text_directory)  # It returns a generator object of each file
 
 ## Developer
    * Hiroyoshi Komatsu [hiroyoshi.komat@gmail.com]
    * Johannes Castner [jac2130@columbia.edu]
 
 
-Following original README in stanford-corenlp-python.
+Following are the README in original stanford-corenlp-python.
 
 -------------------------------------
 

File corenlp/__init__.py

 # classes
 from corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError
 # functions
-from corenlp import batch_parse, parse_parser_xml_results
+from corenlp import batch_parse