spaCy v2.0 pipeline component for calculating readability scores of of text. Provides scores for Flesh-Kincaid grade level, Flesh-Kincaid reading ease, and Dale-Chall.
import spacy from spacy_readability import Readability nlp = spacy.load('en') read = Readability(nlp) nlp.add_pipe(read, last=True) doc = nlp("I am some really difficult text to read because I use obnoxiously large words.") doc._.flesch_kincaid_grade_level doc._.flesch_kincaid_reading_ease doc._.dale_chall
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.