org.jasen.tools
Class EngineTrainer
java.lang.Object
org.jasen.tools.EngineTrainer
- public final class EngineTrainer
- extends Object
The EngineTrainer simply uses the JasenTrainer class to train the engine and produce a token map.
- Author:
- Jason Polites
- See Also:
JasenTrainer
Method Summary |
static void |
main(String[] args)
Runs the trainer. |
EngineTrainer
public EngineTrainer()
main
public static void main(String[] args)
- Runs the trainer.
This class takes 4 arguments:
- Spam Corpus Path - The full path to the spam corpus directory
- Ham Corpus Path - The full path to the ham corpus directory
- Map Path - The full path to the file containing the map data
-
Command - One of:
- new - Creates a new map and saves it to the designated path (default)
- load - Loads an existing map from the designated path and appends to it
- Parameters:
args
-