Warning
This page is located in archive.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
courses:be5b33prg:homeworks:spam:step1 [2015/11/26 09:13]
xposik [Specifications]
courses:be5b33prg:homeworks:spam:step1 [2015/11/30 15:29] (current)
xposik [Specifications]
Line 60: Line 60:
 email03 SPAM email03 SPAM
 email1234 OK email1234 OK
-... 
 </​code>​ </​code>​
 and creates a dictionary (the order of individual "​rows"​ in the following listing is not important): and creates a dictionary (the order of individual "​rows"​ in the following listing is not important):
Line 85: Line 84:
  
 ^ ''​write_classification_to_file(cls_dict,​ fpath)''​ ^^ ^ ''​write_classification_to_file(cls_dict,​ fpath)''​ ^^
-^  Inputs ​ | (1) dictionary containing the email file names as keys, and email classes (''​SPAM''​ or ''​OK''​) as values.+^  Inputs ​ | (1) dictionary containing the email file names as keys, and email classes (''​SPAM''​ or ''​OK''​) as values. ​|
 ^          | (2) The path to the text file that shall be created. ​ | ^          | (2) The path to the text file that shall be created. ​ |
 ^  Output ​ | None.  | ^  Output ​ | None.  |
courses/be5b33prg/homeworks/spam/step1.1448525605.txt.gz ยท Last modified: 2015/11/26 09:13 by xposik