Skip to content

Abhishek-P/ReadabilityScores

Repository files navigation

readability-scores is a simple flask service built to provide text statistics and readability scores for use with ReaSE.

This is built with simple /get and /set.

Text has to be sent as arg 'text' in a POST request. Text statistics will be made available at /get/stats as json dictionary.

Step 1:

/set : text= < text > POST request Args not form

Step 2:

/get/stats : returns JSON of stats

/get/< stat-name > : returns value of the specific stat

Stats available:

  • letter_count
  • word_count
  • syllable_count
  • sentence_count
  • complex_words
  • fk_index
  • gf_index
  • cl_index
  • dc_index
  • as_index

Requires:

  • Flask
  • NLTK - tokenize

It may not be that user friendly now, but will try to make it so in time.

Enjoy. Please ping me at [email protected] for further info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published