midtermnotes571 - then create a third dictionary combining...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
unix ## cat a b | corpusFile=open('','r') dictFile=open('','r') %lexdiff.py corpus.txt dict.txt sys.argv[1] sys.argv[2].sys ### ##make separate freq dictionaries for both corpus2001File = open('. ..','r') corpus2005File = open('. ..','r')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: then create a third dictionary combining both (the value comes from both dictionaries) values will show up in difference thing corpus2001 --> dict --\ dict-->sort--->print corpus2005 --> dict --/ pass = do nothing...
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.

Ask a homework question - tutors are online