How to find n-letter word in text file? : <p>I am trying to find one-letter word, two-letter word, three-letter word and so on, for a shakespeare sonnet text file. I want to find n-letter words, assign them in a separate list according to 'n' letters in the form of list.</p>

<p>How  shall i proceed with such a file?</p>
