ChildrenFromVectors
parser used in conjunction with POSBracketToVector
.public class POSBracketToWord extends POSBracketToVector
Word
objects given file names of
POS bracket form files to parse. These files are expected to have one
sentence per line, and the format of each line is as follows: (pos1 spelling1) (pos2 spelling2) ... (posN spellingN)
Constructor and Description |
---|
POSBracketToWord(String file)
Deprecated.
Adds the given file name to the queue.
|
Modifier and Type | Method and Description |
---|---|
Object |
next()
Deprecated.
Retrieves the next sentence from the files being parsed.
|
parsePOSBracketForm, parsePOSBracketForm
public POSBracketToWord(String file)
file
- The file name to add to the queue.public Object next()
next
in interface edu.illinois.cs.cogcomp.lbjava.parse.Parser
next
in class POSBracketToVector
LinkedVector
representation of the next sentence.Copyright © 2017. All rights reserved.