Skip to content

The txtStat tool calculates the readability indicators such as Flesch Kincaid Reading Ease, Flesch Kincaid Grade Level.

License

Notifications You must be signed in to change notification settings

sureshmelvinsigera/txtStat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

txtStat

The txtStat tool calculates the readability indicators such as Flesch Kincaid Reading Ease, Flesch Kincaid Grade Level.

Usage

from txtStat import *

if __name__ == '__main__':
    custom_text = """
    Narration is telling a story from a certain viewpoint, and there is usually a reason for the
    telling. All narrative essays will have characters, setting, climax, and most importantly, a plot. The plot is the
    focus of the story and is usually revealed chronologically, but there are sometimes flash forwards and flash backs.
    """
    content = txtStat(custom_text)
    c = content.get_average_sentence_length()
    print(c)

About

The txtStat tool calculates the readability indicators such as Flesch Kincaid Reading Ease, Flesch Kincaid Grade Level.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages