## Uses of Class
opennlp.tools.parser.Cons

- Packages that use Cons
  Package | Description
  --- | ---
  opennlp.tools.parser | Package containing common code for performing full syntactic parsing.

- - ### Uses of Cons in opennlp.tools.parser

    Methods in opennlp.tools.parser with parameters of type Cons
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | AbstractContextGenerator.`cons2(List<String> features, Cons c0, Cons c1, Collection<Parse> punct1s, boolean bigram)`
    `protected void` | AbstractContextGenerator.`cons3(List<String> features, Cons c0, Cons c1, Cons c2, Collection<Parse> punct1s, Collection<Parse> punct2s, boolean trigram, boolean bigram1, boolean bigram2)` Creates cons features involving the 3 specified nodes and adds them to the specified feature list.

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