A modern Tkinter application that analyzes a .txt file and displays the frequency of each Romanian alphabet letter in an interactive animated bar chart.
-
File picker to load any
.txtfile -
Counts Romanian-specific letters (ă â î ș ț)
-
Animated Matplotlib bar chart
-
Hover tooltip with live count
-
Smooth color transition on bar hover
-
Shows total letters + missing letters
-
Sorting options:
- 🔽 Frequency Descending
- 🔼 Frequency Ascending
- 🔤 Alphabetical A–Z
- 🔡 Alphabetical Z–A
| Section | Purpose |
|---|---|
| Top Bar | Back button · Total letters · Missing letters |
| Middle | Probability list (count / total) |
| Bottom | Interactive animated chart |
pip install matplotlib(Requires Python 3 + Tkinter and collections comes preinstalled)
sudo apt install python3-tkpython main.pyInteractiveChart→ handles chart, hover, animationLetterCounterApp→ UI, file selection, processing, sorting