Skip to content

Latest commit

 

History

History

Alice_in_Wonderland_Basic_Words_Analysis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

A bash script to analyze "Alice in Wonderland".

  1. 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.
  2. Finds the word that appears the most as the first word in a line.
  3. 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.