Class BrownTokenClasses
- Namespace
- NOpenNLP.Tools.Util.Featuregen
- Assembly
- NOpenNLP.Tools.dll
Obtain the paths listed in the pathLengths array from the Brown class. This class is not to be instantiated.
public static class BrownTokenClasses
- Inheritance
-
BrownTokenClasses
- Inherited Members
Fields
pathLengths
public static readonly int[] pathLengths
Field Value
- int[]
Methods
GetWordClasses(string, BrownCluster)
It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
public static IList<string> GetWordClasses(string token, BrownCluster brownLexicon)
Parameters
tokenstringthe token to be looked up in the brown clustering map
brownLexiconBrownClusterthe Brown clustering map