Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merge Reverend-2158

Shebang line for emailtrainer script and typo fixes.
Closes #2158.

git-svn-id: http://divmod.org/svn/Divmod/trunk/Reverend@13144 866e43f7-fbfc-0310-8f2a-ec88d1da2979
  • Loading branch information...
commit 7f8c650bd9506d4889ceab6147073991c54a8003 1 parent b55df97
washort authored
Showing with 6 additions and 4 deletions.
  1. +2 −0  examples/emailtrainer.py
  2. +4 −4 examples/readme.txt
View
2  examples/emailtrainer.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
# This module is part of the Divmod project and is Copyright 2003 Amir Bakhtiar:
# amir@divmod.org. This is free software; you can redistribute it and/or
# modify it under the terms of version 2.1 of the GNU Lesser General Public
View
8 examples/readme.txt
@@ -1,4 +1,4 @@
-This bried readme is designed to help you get
+This brief readme is designed to help you get
started with using the Reverend training and
testing UI.
@@ -7,7 +7,7 @@ This is how I use the trainer.
I first prepare a couple of directories full of
email. One will have a mix of all kinds of email
that I want to classify and one for testing that
-is, say, containg only spam files.
+is, say, containing only spam files.
I type:
python emailtrainer.py
@@ -28,13 +28,13 @@ When I want to test, I load the Reverend data
using the 'Load' button. I then click on the
'Testing' button on the left. I click 'Run
Test' which brings up the first of 2 dialogs,
-asking me to select the test data, eg my
+asking me to select the test data, e.g. my
directory full of spam. The next dialog asks
for the correct answer to this set of messages.
I type in 'Spam' (case must match your pool name).
I have lots of improvements in mind from training
-refinforcement to better testing and analysis.
+reinforcement to better testing and analysis.
The trainer is designed to be data-agnostic. Look
at example/emailtrainer.py to see how you can
Please sign in to comment.
Something went wrong with that request. Please try again.