opennlp.tools.parser

## Class Cons

- java.lang.Object
- - opennlp.tools.parser.Cons

-     public class Cons
      extends Object

  Class to hold feature information about a specific parse node.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Cons(String cons, String consbo, int index, boolean unigram)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Cons

          public Cons(String cons,
                      String consbo,
                      int index,
                      boolean unigram)

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