Dataframe Integration with spaCy NLP

DframCy is a light-weight utility module to integrate Pandas Dataframe to spaCy's linguistic annotation and training tasks.


import spacy from dframcy import DframCy nlp = spacy.load('en_core_web_sm') dframcy = DframCy(nlp) doc = dframcy.nlp(u'Apple is looking at buying U.K. startup for $1 billion') annotation_dataframe = dframcy.to_dataframe(doc)
Author info

Yash Patadia


Categories pipeline training

Submit your project

If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the project idea label on the issue tracker.

Read the docsJSON source