Package opennlp.tools.util.featuregen
Klasse BrownTokenClasses
java.lang.Object
opennlp.tools.util.featuregen.BrownTokenClasses
Obtain the paths listed in the pathLengths array from the Brown class.
This class is not to be instantiated.
- Siehe auch:
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetWordClasses
(String token, BrownCluster brownLexicon) It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
-
Felddetails
-
pathLengths
public static final int[] pathLengths
-
-
Konstruktordetails
-
BrownTokenClasses
public BrownTokenClasses()
-
-
Methodendetails
-
getWordClasses
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.- Parameter:
token
- the token to be looked up in the brown clustering mapbrownLexicon
- the Brown clustering map- Gibt zurück:
- the list of the paths for a token
-