org.cogroo.tools.featurizer
Class WordTag
java.lang.Object
org.cogroo.tools.featurizer.WordTag
public class WordTag
- extends Object
WordTag
public WordTag(String word,
String postag)
WordTag
public WordTag(String word,
String postag,
String chunktag)
getWord
public String getWord()
getPostag
public String getPostag()
getChunktag
public String getChunktag()
create
public static WordTag[] create(String[] word,
String[] postag)
create
public static WordTag[] create(String[] word,
String[] postag,
String[] chunktag)
extract
public static void extract(WordTag[] wt,
String[] word,
String[] tag)
extract
public static void extract(WordTag[] wt,
String[] word,
String[] tag,
String[] chunks)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
create
public static WordTag[] create(opennlp.tools.chunker.ChunkSample cs)
Copyright © 2012-2013 CoGrOO. All Rights Reserved.