public class BrownTokenClasses
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int[] |
pathLengths |
| Constructor and Description |
|---|
BrownTokenClasses() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
getWordClasses(java.lang.String token,
BrownCluster brownLexicon)
It provides a list containing the pathLengths for a token if found
in the Map:token,BrownClass.
|
public static java.util.List<java.lang.String> getWordClasses(java.lang.String token,
BrownCluster brownLexicon)
token - the token to be looked up in the brown clustering mapbrownLexicon - the Brown clustering mapCopyright © 2010 - 2023 Adobe. All Rights Reserved