We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363a9db commit 8937c29Copy full SHA for 8937c29
README.md
@@ -25,12 +25,12 @@ Classification
25
26
Once training is complete, classification is performed using this command:
27
28
- bayes.py classify <file> <doctype> <doctype>
+ python bayes.py classify <file> <doctype> <doctype>
29
30
+ The *file* argument indicates the location of the file containing the document to be classified
31
+ The two *doctype* arguments are the names of the document types against which the input file will be compared
32
33
For example:
34
35
python bayes.py classify nigerian_finance_email.txt spam ham
36
- > Probability that document is spam rather than ham is 0.98
+ > Probability that document is spam rather than ham is 0.98
0 commit comments