Question
Readability measures are used to score the reading difficulty of a text, for the purposes of selecting texts of appropriate difficulty for language learners. Let
Readability measures are used to score the reading difficulty of a text, for the purposes of selecting texts of appropriate difficulty for language learners. Let us define wto be the average number of letters per word, and sto be the average number of words per sentence, in a given text. The Automated Readability Index (ARI) of the text is defined to be:4.71w+ 0.5s- 21.43.
Compute the ARI score forany 5 categoriesof the Brown Corpus (nltk.corpus.brown.categories()). Make use of the fact thatnltk.corpus.brown.words()produces a sequence of words, whilenltk.corpus.brown.sents()produces a sequence of sentences.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started