Class Train
- java.lang.Object
-
- org.apache.nutch.parsefilter.naivebayes.Train
-
public class Train extends Object
-
-
Constructor Summary
Constructors Constructor Description Train()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringflattenHashMap(HashMap<String,Integer> dict)static Stringreplacefirstoccuranceof(String tomatch, String line)static voidstart(String filepath)static voidupdateHashMap(HashMap<String,Integer> dict, String key)
-
-
-
Method Detail
-
start
public static void start(String filepath) throws IOException
- Throws:
IOException
-
-