An algorithm for statistical analysis of texts
This algorithm takes a text file in.txt as input, processes it and outputs an array of all words from the dictionary, the total number of words, and the dictionary itself with the number of uses of the word in the text, the frequency of use of the word and the percentage of the total number of words.