AUTHORS: Adam Calvin Chris David Derek Hunter Jacob Jason Jun Karl Kevin Michael Morgan Nadia Nerissa Omair Peter Peterson Ping Richard Rosie Scott Thanh Varun |
Feb 17, 17:19 - Scott: Sending one line at a time to the module that checks spelling will make locating lines where errors occur easier. It also speads things up as the dictionary need not be loaded as often. Feb 17, 17:30 - Scott: There is some confusion on opening files. For one the open() command is being used within the parse_file module which leaves it unusable to the rest of the program (in my opinion less desirable). Second 'foo.txt' is what is being opened...although 'input.txt' is the actual file name. Some error handling would be nice too (incase the file is not in the same directory as the program). Feb 17, 18:22 - Scott (line 12): There is lots of confusion as to the capabilities of the command 'in' in a for loop. in checks for membership in a sequence and cannot distinguish a line in a file. Feb 17, 18:24 - Scott (line 26): misspell_keys is not defined anywhere before this...I believe this should be keys. Feb 17, 18:28 - Scott (line 27): repr(misspelled_words_dict.get(k)) can be replaced by misspelled_words_dict[k] ...much more simple...less confusing Feb 19, 01:08 - Scott: Okay, my bad. for line in file: does work...I'm using Python 1.5 where this is NOT implimented. In the meantime I've wasted days trying to figure how to impliment these few lines. Please log in if you would like to add comments. |
|