public class WordTypeComparator extends Object
Constructor and Description |
---|
WordTypeComparator() |
Modifier and Type | Method and Description |
---|---|
static int |
hashCode(String posTag) |
static boolean |
sameWordType(String posTag1,
String posTag2)
Returns TRUE if both POS tags are related to the same word type, i.e.
|
public WordTypeComparator()
public static boolean sameWordType(String posTag1, String posTag2)
posTag1
- the POS tag of the first wordposTag2
- the POS tag of the second word DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann