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 String
flattenHashMap(HashMap<String,Integer> dict)
static String
replacefirstoccuranceof(String tomatch, String line)
static void
start(String filepath)
static void
updateHashMap(HashMap<String,Integer> dict, String key)
-
-
-
Method Detail
-
start
public static void start(String filepath) throws IOException
- Throws:
IOException
-
-