Office for Mathematics, Science, and Technology Education
College of Education @ University of Illinois
MSTE: Celebrating 25 years!

Text Analysis


The text analysis tool below will display a number of statistics about the text you enter, including word, letter and sentence count. For now, there is only the most basic information provided about the text.


Enter the desired text in the top field, press "Analyze", and the results will show up on the bottom. Depending on your computer and the length and complexity of the text, the analysis might take a few seconds. The analysis will display the basic information about the text, followed by the frequencies of letters and then the occurences of each individual word.


Please use the statistics with caution. Keep in mind that the number of sentences displayed is a best guess based on a set of rules. Use your own disgression when analyzing text, and do not rely solely on the statistics given by the applet.


Problems arise with counting sentences. While you are only comparing long texts, this will not arise as too big a problem. The analysis algorithm will fail in the following example:
"the number pi is 3.14 and so on" - counts 2 sentences

While this is not the only example under which the system will fail, you have to keep in mind that the algorithm is not perfect and is limited by the variations in the structure of the English language. If you find any more examples that fail, please contact Pavel Safronov.

If you are having trouble loading the Applet, a possible solution is to update your Java Runtime Environment. To update your JRE, go to SUN's Java Webpage and follow the link to download Java software.

If you are having problems using the applet, please notify Pavel Safronov. Please specify the applet you are using, your web browser, operating system and the particular problem experienced. Please be as detailed as possible.

The Credits

Applet designed and coded by Pavel Safronov.

Download the source code in txt file. To run the source code, change the extension to .java


Social Media Links:

Connect with us

Additional navigation options:

© 1994-2018 MSTE | Privacy Policy
505 East Green St., Suite 102, Champaign, IL 61820 | (217) 244-7486