GitHub - relwell/corenlp-xml-lib: A Python library responsible for handling interactions with Stanford CoreNLP's XML output (original) (raw)

Skip to content

Sign in

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

relwell / corenlp-xml-lib Public

A Python library responsible for handling interactions with Stanford CoreNLP's XML output

readthedocs.org/projects/corenlp-xml-library/

License

Apache-2.0 license

7 stars 4 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory53 Commits
corenlp_xml corenlp_xml
docs docs
test test
.gitignore .gitignore
LICENSE.txt LICENSE.txt
README.md README.md
requirements.txt requirements.txt
setup.py setup.py

Repository files navigation

Data abstraction library for Stanford CoreNLP XML parses.

You can install it with pip:

me@box$ pip install corenlp_xml

Using it is as easy as:

from corenlp_xml.document import Document
d = Document(corenlp_xml_output_string)
sentences = d.sentences
word_to_pos = dict([(token.word, token.pos) for token in sentences[0].tokens])

To learn more:

Copyright Robert Elwell, distributed under the Apache License (see LICENSE.txt).

About

A Python library responsible for handling interactions with Stanford CoreNLP's XML output

readthedocs.org/projects/corenlp-xml-library/

Resources

Readme

License

Apache-2.0 license

Activity

Stars

7 stars

Watchers

2 watching

Forks

4 forks

Report repository

Releases

3 tags

Packages

No packages published

Contributors3

Languages