public class TFIDFUtil extends Object
| Constructor and Description |
|---|
TFIDFUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
readFile(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 List<String> readFile(String filename, boolean separateSentences) throws IOException
filename - file to be readseparateSentences - should sentences be separated if they occur on one lineIOExceptionCopyright © 2015. All rights reserved.