GitHub - relwell/corenlp-xml-lib: A Python library responsible for handling interactions with Stanford CoreNLP's XML output (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
Explore - Why GitHub
- All features
- Documentation
- GitHub Skills
- Blog
- By company size
- Topics
- Pricing
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
Appearance settings
relwell / corenlp-xml-lib Public
- Notifications You must be signed in to change notification settings
- Fork4
- Star 7
A Python library responsible for handling interactions with Stanford CoreNLP's XML output
readthedocs.org/projects/corenlp-xml-library/
License
7 stars 4 forks Branches Tags Activity
Notifications You must be signed in to change notification settings
Additional navigation options
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
License
Stars
Watchers
Forks
Releases
Packages
No packages published