org.jasen.tools
Class EngineTrainer

java.lang.Object
  extended byorg.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

Constructor Summary
EngineTrainer()
           
 
Method Summary
static void main(String[] args)
          Runs the trainer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineTrainer

public EngineTrainer()
Method Detail

main

public static void main(String[] args)
Runs the trainer.

This class takes 4 arguments:

  1. Spam Corpus Path - The full path to the spam corpus directory
  2. Ham Corpus Path - The full path to the ham corpus directory
  3. Map Path - The full path to the file containing the map data
  4. 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 -