edu.columbia.cs.ref.tool.postagger
Interface POSTagger
- All Known Implementing Classes:
- OpenNLPPOSTagger
public interface POSTagger
The Interface POSTagger represents objects that can be used to perform
POS tagging tasks.
The only method that it forces to implement is the method tag which receives
as input a tokenized version of a text and returns an array of Strings which
associates a tag to each input token.
- Since:
- 2011-09-27
- Version:
- 0.1
- Author:
- Pablo Barrio, Goncalo Simoes
Method Summary |
java.lang.String[] |
tag(java.lang.String[] input)
Produces the POS tags for the input data |
tag
java.lang.String[] tag(java.lang.String[] input)
- Produces the POS tags for the input data
- Parameters:
input
- a tokenized version of a text
- Returns:
- an array of Strings which associates a tag to each input token