--------------------------------------------------------------------------------------------- Output for sample-e --------------------------------------------------------------------------------------------- ('total number of words=', 17) ('total number of distinct words=', 7) ('popular_threshold_word=', 1.0) ('common_threshold_l_word=', 3.0) ('common_threshold_u_word=', 4.0) ('rare_threshold_word=', 6.0) --------------------------------------------------------------------------------------------- Popular Words +----+----+---------+ |Rank|Word|Frequency| +----+----+---------+ |1 |ab |7 | +----+----+---------+ Common Word +----+----+---------+ |Rank|Word|Frequency| +----+----+---------+ |3 |abcd|2 | |4 |qqq |2 | +----+----+---------+ Rare Words +----+----+---------+ |Rank|Word|Frequency| +----+----+---------+ |6 |q |1 | |7 |qq |1 | +----+----+---------+ --------------------------------------------------------------------------------------------- ('total number of distinct letters=', 11) ('popular_threshold_letter=', 1.0) ('common_threshold_l_letter=', 5.0) ('common_threshold_u_letter=', 6.0) ('rare_threshold_letter=', 10.0) --------------------------------------------------------------------------------------------- Popular Letters +----+------+---------+ |Rank|Letter|Frequency| +----+------+---------+ |1 |b |13 | +----+------+---------+ Common Letters +----+------+---------+ |Rank|Letter|Frequency| +----+------+---------+ |5 |c |4 | |6 |d |4 | +----+------+---------+ Rare Letters +----+------+---------+ |Rank|Letter|Frequency| +----+------+---------+ |10 |k |1 | |11 |r |1 | +----+------+---------+ ---------------------------------------------------------------------------------------------