public class TFIDFUtil
extends java.lang.Object
| Constructor and Description |
|---|
TFIDFUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
readFile(java.lang.String filename,
boolean separateSentences)
This method reads in a text file, breaking it into single line documents
Currently, sentences are not separated if they occur on the same line.
|
public static java.util.List<java.lang.String> readFile(java.lang.String filename,
boolean separateSentences)
throws java.io.IOException
filename - file to be readseparateSentences - should sentences be separated if they occur on one linejava.io.IOException