10293

Word Length and Frequency
Type: String
Diff: 2.0

Input

Input file contains several blocks of input. 
Each block is terminated by a line containing a 
#
as its first character. You should not consider
this line within the block. 
There is no space at the end of a line. You may assume 
each word 
#
as ``I'm'' and ``You've'', and hyphenated words 
are treated as one word. For example, ``you've'' is a one-
letter word. Hyphenation may occur across two lines.
#

Output of The Input

1 4
2 3
4 3
5 3
6 1
7 1
8 1
10 2

1 5
2 5
3 8
4 5
5 4
6 3
9 2

1 4
2 3
3 7
4 4
5 3
6 2
7 4
10 1
11 1

If you have any advice, complements 

or proposal, please  Send mail to Author

Submit

1