Press the Green flag to start the program. Paste in some text in some language and have the program figure out what language it is. The program is more accurate if you paste in longer texts. Press the "Show Scores" button to show the similarity measures between languages. Press the "Show Letters" button to display the letters in each language in order, with the most common letters shown first.
The full program description can be found at: bit dot ly/cstawhichlang (where you substitute dot with a period to give a web address). The letter frequency counts (e.g. how many A's, how many B's, etc.) of different languages were created using Google-translate versions of Shakespeare's Macbeth. The letter frequency counts of the user input is then compared to the previously computed frequency counts from eight languages. The forecast is the language that has frequency counts that are the most similar to the user input frequency counts.