public class PlainTextReader extends Object
Constructor and Description |
---|
PlainTextReader() |
Modifier and Type | Method and Description |
---|---|
static String |
normalizeText(String text) |
static ArrayList<edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector> |
parsePlainTextFile(String file) |
static ArrayList<edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector> |
parseText(String text) |
static List<String[]> |
parseTextRaw(String text)
This method will normalize and parse the raw text returning a representation of sentences,
where each sentence is a primitive array of words as strings.
|
static Vector<Vector<String>> |
sentenceSplitAndTokenizeText(String text) |
static String |
showSentenceVector(Vector<edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector> sentences) |
public static ArrayList<edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector> parsePlainTextFile(String file)
public static ArrayList<edu.illinois.cs.cogcomp.lbjava.parse.LinkedVector> parseText(String text)
public static List<String[]> parseTextRaw(String text)
text
- the text to parse.public static Vector<Vector<String>> sentenceSplitAndTokenizeText(String text)
Copyright © 2017. All rights reserved.