Input: “Text.txt” file (English text).
Goal: C++/Python/Java (or another language) program finds all symbols (not only letters) in this text and computes their probabilities out of all symbols. The most frequent symbols will have higher probabilities.
Output: list of all unique symbols from the text with their probabilities.
Example:
A – 0,014; B – 0,012