SpamBGon Dependencies --------------------- SpamBGon requires the third-party library Getopt. Before compiling, the Getopt library (java-getopt-1.0.9.jar) must be located in the same directory as BSFTest and BSFTrain, where compilation and execution take place. Should a different location be desired for Getopt, it will be necessary to modify -classpath accordingly. Compiling the SpamBGon Suite ---------------------------- To compile: javac -classpath .:./java-getopt-1.0.9.jar BSFTest.java javac -classpath .:./java-getopt-1.0.9.jar BSFTrain.java This will compile all necessary SpamBGon files, but NOT including any of the tokenizer classes that are provided. To compile those: javac -classpath .:./java-getopt-1.0.9.jar AbstractTokenizer.java javac -classpath .:./java-getopt-1.0.9.jar NGramTokenizer.java javac -classpath .:./java-getopt-1.0.9.jar WhiteSpaceTokenizer.java javac -classpath .:./java-getopt-1.0.9.jar KrustyTokenizer.java Compilation of third-party tokenizers mirrors exactly the preceding instructions. Tokenizer classes must be located in the same directory as BSFTest and BSFTrain. If you receive the error ERROR: Cannot instantiate SomeRealNiftyTokenizer during training or testing, check that the class exists and that the name of the class has been spelled correctly. Case counts. Using BSFTrain and BSFTest -------------------------- See USERDOC.TXT.