Skip to content
Permalink
0d82ff1dc4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (36 sloc) 867 Bytes
package kb.howtokb.taskframe.extractor;
/**
* POS tagger interface.
* Mumbai/NP is/VB nice/JJ <BR>
* different taggers have diff. separators (e.g. /) <BR>
* This logic must be implemented by any tagger.
*
* @author ntandon
*
*/
public interface IPOSTagger {
/**
* tag a tokenized input sentence
*
* @param input
* a tokenized sentence
* @return sentence with tag for each token
*/
public String tag(String input);
/**
* get the tag of a tagged token <BR>
*
* @param input
* a tagged token e.g. nice/JJ
* @return tag e.g. JJ
*/
public String getTag(String input);
/**
* get the original token of a tagged token
*
* @param input
* a tagged token e.g. nice/JJ
* @return original token e.g. nice
*/
public String getToken(String input);
}