This preview shows page 1. Sign up to view the full content.
Unformatted text preview: for token in line.split(): types[token] = types.get(token,0) + 1 words = types.items() words.sort(cmpItems) for type,value in words: print value,type...
View Full Document
This note was uploaded on 09/06/2009 for the course LING 571 taught by Professor Staff during the Fall '08 term at San Diego State.
- Fall '08