public class Reuters2003Parser extends ColumnFormat
LBJ2.parse.LinkedVectors populated
by LBJ2.nlp.seg.Tokens representing words. Each LinkedVector represents
a sentence from the input. More information about LinkedVector can be found in LBJ's
online Javadoc.| Constructor and Description |
|---|
Reuters2003Parser(String file)
Constructs this parser to parse the given file.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
next()
Produces the next object parsed from the input file; in this case, that object is guaranteed
to be a
LinkedVector populated by Tokens representing a sentence. |
public Reuters2003Parser(String file)
file - The name of the file to parse.public Object next()
LinkedVector populated by Tokens representing a sentence.next in interface edu.illinois.cs.cogcomp.lbjava.parse.Parsernext in class ColumnFormatCopyright © 2017. All rights reserved.