Skip to content

mmera/text-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

text-analyzer

Python script that outputs stats on input text e.g. number of sentences, etc.

Usage: python text_analyzer.py <input-file> <output-file>

The program accepts as input a plain text document and extracts some properties of the content.

Note: Sample data provided to use with program.

Output:

Number of paragraphs.

Number of sentences.

Number of words (i.e., "tokens").

Number of distinct words (i.e., "word types").

List of word frequency counts: Words are ordered by frequency (in the descending order).

About

Python script that outputs stats on input text e.g. number of sentences, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages