A bash script to analyze "Alice in Wonderland".
- Finds the pair of words (regardless of inner order ('hello world' == 'world hello')) That appear the most number of times in a line. Per whole file and per each chapter.
- Finds the word that appears the most as the first word in a line.
- calculates the average line length, how many lines are shorter than the average, and the average place of 'Alice' in a line.
To run, simply clone to a Linux environment, navigate to folder and run ./Alice_book_analysis.sh
.