You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Assuming you are running on port 8080, the code in `client.py` shows an example
44
44
result = loads(server.parse("Hello world. It is so beautiful"))
45
45
print "Result", result
46
46
47
-
That returns a dictionary containing the keys `sentences` and (when applicable) `corefs`. `sentences`are a list of dictionaries for each sentence, which contain `parsetree`, `text`, `tuples` containing the dependencies, and `words`, containing information about parts of speech, NER, etc:
47
+
That returns a dictionary containing the keys `sentences` and (when applicable) `corefs`. The key `sentences`contains a list of dictionaries for each sentence, which contain `parsetree`, `text`, `tuples` containing the dependencies, and `words`, containing information about parts of speech, NER, etc:
**Stanford CoreNLP tools require a large amount of free memory**. Java 5+ uses about 50% more RAM on 64-bit machines than 32-bit machines. 32-bit machine users can lower the memory requirements by changing `-Xmx3g` to `-Xmx2g` or even less.
130
130
If pexpect timesout while loading models, check to make sure you have enough memory and can run the server alone without your kernel killing the java process:
You can reach me, Dustin Smith, by sending a message on GitHub or through email (contact information is available [on my webpage](http://web.media.mit.edu/~dustin)).
135
135
@@ -138,13 +138,14 @@ You can reach me, Dustin Smith, by sending a message on GitHub or through email
138
138
139
139
This is free and open source software and has benefited from the contribution and feedback of others. Like Stanford's CoreNLP tools, it is covered under the [GNU General Public License v2 +](http://www.gnu.org/licenses/gpl-2.0.html), which in short means that modifications to this program must maintain the same free and open source distribution policy.
This project has benefited from the contributions of:
143
142
144
-
## Similar Projects
143
+
*@jcc Justin Cheng
144
+
* Abhaya Agarwal
145
145
146
-
These two projects are python wrappers for the [Stanford Parser](http://nlp.stanford.edu/software/lex-parser.shtml), different than "core NLP tools":
146
+
## Related Projects
147
147
148
+
These two projects are python wrappers for the [Stanford Parser](http://nlp.stanford.edu/software/lex-parser.shtml), which includes the Stanford Parser, although the Stanford Parser is another project.
148
149
-[stanford-parser-python](http://projects.csail.mit.edu/spatial/Stanford_Parser) uses [JPype](http://jpype.sourceforge.net/) (interface to JVM)
0 commit comments