public class POSBracketToToken extends POSBracketToVector
POSBracketToVector
, and it returns Token
objects
representing that labeled data.Modifier and Type | Field and Description |
---|---|
Token |
currentWord
A pointer to the most recently returned word is kept for easy access to
the next word.
|
Constructor and Description |
---|
POSBracketToToken(String file)
Initializes an instance with the named file.
|
Modifier and Type | Method and Description |
---|---|
Object |
next()
Returns the next labeled word in the data.
|
parsePOSBracketForm, parsePOSBracketForm
public Token currentWord
public POSBracketToToken(String file)
file
- The name of the file containing labeled data.public Object next()
next
in interface edu.illinois.cs.cogcomp.lbjava.parse.Parser
next
in class POSBracketToVector
Copyright © 2017. All rights reserved.