| <!DOCTYPE HTML> |
| <html lang> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>ParserModel (Apache OpenNLP Tools 2.5.6 API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: opennlp.tools.parser, class: ParserModel"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| <script type="text/javascript" src="../../../script-dir/jquery-3.7.1.min.js"></script> |
| <script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../index-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">opennlp.tools.parser</a></div> |
| <h1 title="Class ParserModel" class="title">Class ParserModel</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="../util/model/BaseModel.html" title="class in opennlp.tools.util.model">opennlp.tools.util.model.BaseModel</a> |
| <div class="inheritance">opennlp.tools.parser.ParserModel</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code>, <code><a href="../util/model/ArtifactProvider.html" title="interface in opennlp.tools.util.model">ArtifactProvider</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">ParserModel</span> |
| <span class="extends-implements">extends <a href="../util/model/BaseModel.html" title="class in opennlp.tools.util.model">BaseModel</a></span></div> |
| <div class="block">This is the default <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> implementation.</div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../serialized-form.html#opennlp.tools.parser.ParserModel">Serialized Form</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-opennlp.tools.util.model.BaseModel">Fields inherited from class opennlp.tools.util.model.<a href="../util/model/BaseModel.html" title="class in opennlp.tools.util.model">BaseModel</a></h3> |
| <code><a href="../util/model/BaseModel.html#TRAINING_CUTOFF_PROPERTY">TRAINING_CUTOFF_PROPERTY</a>, <a href="../util/model/BaseModel.html#TRAINING_EVENTHASH_PROPERTY">TRAINING_EVENTHASH_PROPERTY</a>, <a href="../util/model/BaseModel.html#TRAINING_ITERATIONS_PROPERTY">TRAINING_ITERATIONS_PROPERTY</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.io.File)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> modelFile)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/File.html" title="class or interface in java.io" class="external-link"><code>File</code></a>.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.io.InputStream)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> in)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link"><code>InputStream</code></a>.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> attachModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> modelType)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType,java.util.Map)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> attachModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> modelType, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> manifestInfoEntries)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType,java.util.Map)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> manifestInfoEntries)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(java.net.URL)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URL.html" title="class or interface in java.net" class="external-link">URL</a> modelURL)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URL.html" title="class or interface in java.net" class="external-link"><code>URL</code></a>.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.nio.file.Path)" class="member-name-link">ParserModel</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> modelPath)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link"><code>Path</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel" aria-labelledby="method-summary-table-tab0"> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" class="member-name-link">equals</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> obj)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getAttachModel()" class="member-name-link">getAttachModel</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBuildModel()" class="member-name-link">getBuildModel</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCheckModel()" class="member-name-link">getCheckModel</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHeadRules()" class="member-name-link">getHeadRules</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParserChunkerModel()" class="member-name-link">getParserChunkerModel</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParserTaggerModel()" class="member-name-link">getParserTaggerModel</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParserType()" class="member-name-link">getParserType</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" class="member-name-link">hashCode</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateBuildModel(opennlp.tools.ml.model.MaxentModel)" class="member-name-link">updateBuildModel</a><wbr>(<a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>buildModel</code> for exchange.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateCheckModel(opennlp.tools.ml.model.MaxentModel)" class="member-name-link">updateCheckModel</a><wbr>(<a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>checkModel</code> for exchange.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateChunkerModel(opennlp.tools.chunker.ChunkerModel)" class="member-name-link">updateChunkerModel</a><wbr>(<a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkModel)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>chunkModel</code> for exchange.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateTaggerModel(opennlp.tools.postag.POSModel)" class="member-name-link">updateTaggerModel</a><wbr>(<a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> taggerModel)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>taggerModel</code> for exchange.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-opennlp.tools.util.model.BaseModel">Methods inherited from class opennlp.tools.util.model.<a href="../util/model/BaseModel.html" title="class in opennlp.tools.util.model">BaseModel</a></h3> |
| <code><a href="../util/model/BaseModel.html#getArtifact(java.lang.String)">getArtifact</a>, <a href="../util/model/BaseModel.html#getLanguage()">getLanguage</a>, <a href="../util/model/BaseModel.html#getManifestProperty(java.lang.String)">getManifestProperty</a>, <a href="../util/model/BaseModel.html#getVersion()">getVersion</a>, <a href="../util/model/BaseModel.html#isLoadedFromSerialized()">isLoadedFromSerialized</a>, <a href="../util/model/BaseModel.html#serialize(java.io.File)">serialize</a>, <a href="../util/model/BaseModel.html#serialize(java.io.OutputStream)">serialize</a>, <a href="../util/model/BaseModel.html#serialize(java.nio.file.Path)">serialize</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType,java.util.Map)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> attachModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> modelType, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> manifestInfoEntries)</span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>languageCode</code> - An ISO conform language code.</dd> |
| <dd><code>buildModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to build.</dd> |
| <dd><code>checkModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to check.</dd> |
| <dd><code>attachModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to attach.</dd> |
| <dd><code>parserTagger</code> - A valid <a href="../postag/POSModel.html" title="class in opennlp.tools.postag"><code>POSModel</code></a> to parse.</dd> |
| <dd><code>chunkerTagger</code> - A valid <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker"><code>ChunkerModel</code></a> to chunk.</dd> |
| <dd><code>headRules</code> - The <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> to to use for parsing.</dd> |
| <dd><code>modelType</code> - The <a href="ParserType.html" title="enum class in opennlp.tools.parser"><code>ParserType</code></a> to use.</dd> |
| <dd><code>manifestInfoEntries</code> - Additional information kept in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> attachModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> modelType)</span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>languageCode</code> - An ISO conform language code.</dd> |
| <dd><code>buildModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to build.</dd> |
| <dd><code>checkModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to check.</dd> |
| <dd><code>parserTagger</code> - A valid <a href="../postag/POSModel.html" title="class in opennlp.tools.postag"><code>POSModel</code></a> to parse.</dd> |
| <dd><code>chunkerTagger</code> - A valid <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker"><code>ChunkerModel</code></a> to chunk.</dd> |
| <dd><code>headRules</code> - The <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> to to use for parsing.</dd> |
| <dd><code>modelType</code> - The <a href="ParserType.html" title="enum class in opennlp.tools.parser"><code>ParserType</code></a> to use.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.lang.String,opennlp.tools.ml.model.MaxentModel,opennlp.tools.ml.model.MaxentModel,opennlp.tools.postag.POSModel,opennlp.tools.chunker.ChunkerModel,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserType,java.util.Map)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> languageCode, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel, |
| <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel, |
| <a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> parserTagger, |
| <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkerTagger, |
| <a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> headRules, |
| <a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>> manifestInfoEntries)</span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via given parameters.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>languageCode</code> - An ISO conform language code.</dd> |
| <dd><code>buildModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to build.</dd> |
| <dd><code>checkModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to check.</dd> |
| <dd><code>parserTagger</code> - A valid <a href="../postag/POSModel.html" title="class in opennlp.tools.postag"><code>POSModel</code></a> to parse.</dd> |
| <dd><code>chunkerTagger</code> - A valid <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker"><code>ChunkerModel</code></a> to chunk.</dd> |
| <dd><code>headRules</code> - The <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> to to use for parsing.</dd> |
| <dd><code>type</code> - The <a href="ParserType.html" title="enum class in opennlp.tools.parser"><code>ParserType</code></a> to use.</dd> |
| <dd><code>manifestInfoEntries</code> - Additional information kept in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.io.InputStream)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link">InputStream</a> in)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link"><code>InputStream</code></a>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>in</code> - The <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io" class="external-link"><code>InputStream</code></a> used for loading the model.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - Thrown if IO errors occurred during initialization.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.io.File)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/File.html" title="class or interface in java.io" class="external-link">File</a> modelFile)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/File.html" title="class or interface in java.io" class="external-link"><code>File</code></a>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>modelFile</code> - The <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/File.html" title="class or interface in java.io" class="external-link"><code>File</code></a> used for loading the model.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - Thrown if IO errors occurred during initialization.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.nio.file.Path)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link">Path</a> modelPath)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link"><code>Path</code></a>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>modelPath</code> - The <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/file/Path.html" title="class or interface in java.nio.file" class="external-link"><code>Path</code></a> used for loading the model.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - Thrown if IO errors occurred during initialization.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(java.net.URL)"> |
| <h3>ParserModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">ParserModel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URL.html" title="class or interface in java.net" class="external-link">URL</a> modelURL)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block">Initializes a <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance via a valid <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URL.html" title="class or interface in java.net" class="external-link"><code>URL</code></a>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>modelURL</code> - The <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URL.html" title="class or interface in java.net" class="external-link"><code>URL</code></a> used for loading the model.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - Thrown if IO errors occurred during initialization.</dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getParserType()"> |
| <h3>getParserType</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ParserType.html" title="enum class in opennlp.tools.parser">ParserType</a></span> <span class="element-name">getParserType</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="ParserType.html" title="enum class in opennlp.tools.parser"><code>ParserType</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getBuildModel()"> |
| <h3>getBuildModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></span> <span class="element-name">getBuildModel</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>build model</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCheckModel()"> |
| <h3>getCheckModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></span> <span class="element-name">getCheckModel</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>check model</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getAttachModel()"> |
| <h3>getAttachModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a></span> <span class="element-name">getAttachModel</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>attach model</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getParserTaggerModel()"> |
| <h3>getParserTaggerModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a></span> <span class="element-name">getParserTaggerModel</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="../postag/POSModel.html" title="class in opennlp.tools.postag"><code>POSModel</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getParserChunkerModel()"> |
| <h3>getParserChunkerModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a></span> <span class="element-name">getParserChunkerModel</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker"><code>ChunkerModel</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getHeadRules()"> |
| <h3>getHeadRules</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a></span> <span class="element-name">getHeadRules</span>()</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Retrieves the <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> as configured in the manifest.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateBuildModel(opennlp.tools.ml.model.MaxentModel)"> |
| <h3>updateBuildModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></span> <span class="element-name">updateBuildModel</span><wbr><span class="parameters">(<a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> buildModel)</span></div> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>buildModel</code> for exchange.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>buildModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to build.</dd> |
| <dt>Returns:</dt> |
| <dd>A valid <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateCheckModel(opennlp.tools.ml.model.MaxentModel)"> |
| <h3>updateCheckModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></span> <span class="element-name">updateCheckModel</span><wbr><span class="parameters">(<a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model">MaxentModel</a> checkModel)</span></div> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>checkModel</code> for exchange.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>checkModel</code> - A valid <a href="../ml/model/MaxentModel.html" title="interface in opennlp.tools.ml.model"><code>MaxentModel</code></a> used to check.</dd> |
| <dt>Returns:</dt> |
| <dd>A valid <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateTaggerModel(opennlp.tools.postag.POSModel)"> |
| <h3>updateTaggerModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></span> <span class="element-name">updateTaggerModel</span><wbr><span class="parameters">(<a href="../postag/POSModel.html" title="class in opennlp.tools.postag">POSModel</a> taggerModel)</span></div> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>taggerModel</code> for exchange.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>taggerModel</code> - A valid <a href="../postag/POSModel.html" title="class in opennlp.tools.postag"><code>POSModel</code></a> used to tag.</dd> |
| <dt>Returns:</dt> |
| <dd>A valid <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateChunkerModel(opennlp.tools.chunker.ChunkerModel)"> |
| <h3>updateChunkerModel</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></span> <span class="element-name">updateChunkerModel</span><wbr><span class="parameters">(<a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker">ChunkerModel</a> chunkModel)</span></div> |
| <div class="block">Instantiates a new <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a> instance from the existing configuration |
| with the specified <code>chunkModel</code> for exchange.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>chunkModel</code> - A valid <a href="../chunker/ChunkerModel.html" title="class in opennlp.tools.chunker"><code>ChunkerModel</code></a> used to tag.</dd> |
| <dt>Returns:</dt> |
| <dd>A valid <a href="ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="hashCode()"> |
| <h3>hashCode</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">hashCode</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="equals(java.lang.Object)"> |
| <h3>equals</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">equals</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> obj)</span></div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2025 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |