Uses of Class opennlp.tools.parser.ParserModel (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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

- Packages that use ParserModel
  Package | Description
  --- | ---
  opennlp.tools.cmdline.parser |
  opennlp.tools.parser | Package containing common code for performing full syntactic parsing.
  opennlp.tools.parser.chunking | Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
  opennlp.tools.parser.treeinsert | Package containing experimental code for performing full syntactic parsing using attachment decisions.

- - ### Uses of ParserModel in opennlp.tools.cmdline.parser

    Methods in opennlp.tools.cmdline.parser that return ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ParserModel` | ParserModelLoader.`loadModel(InputStream modelIn)`
    `protected ParserModel` | CheckModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`
    `protected ParserModel` | BuildModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`

    Methods in opennlp.tools.cmdline.parser with parameters of type ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ParserModel` | CheckModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`
    `protected ParserModel` | BuildModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`

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

    Methods in opennlp.tools.parser that return ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `ParserModel` | ParserModel.`updateBuildModel(MaxentModel buildModel)`
    `ParserModel` | ParserModel.`updateCheckModel(MaxentModel checkModel)`
    `ParserModel` | ParserModel.`updateChunkerModel(ChunkerModel chunkModel)`
    `ParserModel` | ParserModel.`updateTaggerModel(POSModel taggerModel)`

    Methods in opennlp.tools.parser with parameters of type ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `static Parser` | ParserFactory.`create(ParserModel model)`
    `static Parser` | ParserFactory.`create(ParserModel model, int beamSize, double advancePercentage)`

  - ### Uses of ParserModel in opennlp.tools.parser.chunking

    Methods in opennlp.tools.parser.chunking that return ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `static ParserModel` | Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)`

    Constructors in opennlp.tools.parser.chunking with parameters of type ParserModel
    Constructor and Description
    `Parser(ParserModel model)`
    `Parser(ParserModel model, int beamSize, double advancePercentage)`

  - ### Uses of ParserModel in opennlp.tools.parser.treeinsert

    Methods in opennlp.tools.parser.treeinsert that return ParserModel
    Modifier and Type | Method and Description
    --- | ---
    `static ParserModel` | Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, int iterations, int cut)`
    `static ParserModel` | Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)`

    Constructors in opennlp.tools.parser.treeinsert with parameters of type ParserModel
    Constructor and Description
    `Parser(ParserModel model)`
    `Parser(ParserModel model, int beamSize, double advancePercentage)`

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