## Uses of Class
opennlp.tools.util.featuregen.BrownCluster

- Packages that use BrownCluster
  Package | Description
  --- | ---
  opennlp.tools.util.featuregen | This package contains classes for generating sequence features.

- - ### Uses of BrownCluster in opennlp.tools.util.featuregen

    Methods in opennlp.tools.util.featuregen that return BrownCluster
    Modifier and Type | Method and Description
    --- | ---
    `BrownCluster` | BrownCluster.BrownClusterSerializer.`create(InputStream in)`

    Methods in opennlp.tools.util.featuregen with parameters of type BrownCluster
    Modifier and Type | Method and Description
    --- | ---
    `static List<String>` | BrownTokenClasses.`getWordClasses(String token, BrownCluster brownLexicon)` It provides a list containing the pathLengths for a token if found in the Map:token,BrownClass.
    `void` | BrownCluster.BrownClusterSerializer.`serialize(BrownCluster artifact, OutputStream out)`

    Constructors in opennlp.tools.util.featuregen with parameters of type BrownCluster
    Constructor and Description
    `BrownBigramFeatureGenerator(BrownCluster brownCluster)` Creates a new Brown Cluster bigram feature generator.
    `BrownTokenClassFeatureGenerator(BrownCluster dict)`
    `BrownTokenFeatureGenerator(BrownCluster dict)`

Copyright © 2026 The Apache Software Foundation. All rights reserved.