Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from benepar.spacy_plugin import BeneparComponent
# Loading spaCy’s en model and adding benepar model to its pipeline
nlp = spacy.load('en')
text='It took me more than two hours to translate a few pages of English.'
# Generating a parse tree for the text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment