| <!DOCTYPE HTML> |
| <html lang> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>Uses of Class opennlp.tools.parser.Parse (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="use: package: opennlp.tools.parser, class: Parse"> |
| <meta name="generator" content="javadoc/ClassUseWriter"> |
| <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-use-page"> |
| <script type="text/javascript">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><a href="../Parse.html" title="class in opennlp.tools.parser">Class</a></li> |
| <li class="nav-bar-cell1-rev">Use</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#use">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <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"> |
| <div class="header"> |
| <h1 title="Uses of Class opennlp.tools.parser.Parse" class="title">Uses of Class<br>opennlp.tools.parser.Parse</h1> |
| </div> |
| <div class="caption"><span>Packages that use <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Package</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><a href="#opennlp.tools.cmdline.parser">opennlp.tools.cmdline.parser</a></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><a href="#opennlp.tools.formats">opennlp.tools.formats</a></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Experimental package related to converting various corpora to OpenNLP Format.</div> |
| </div> |
| <div class="col-first even-row-color"><a href="#opennlp.tools.formats.convert">opennlp.tools.formats.convert</a></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><a href="#opennlp.tools.formats.frenchtreebank">opennlp.tools.formats.frenchtreebank</a></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Experimental package related to the French Treebank format.</div> |
| </div> |
| <div class="col-first even-row-color"><a href="#opennlp.tools.formats.ontonotes">opennlp.tools.formats.ontonotes</a></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Experimental package related to the OntoNotes 4.0 format.</div> |
| </div> |
| <div class="col-first odd-row-color"><a href="#opennlp.tools.parser">opennlp.tools.parser</a></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Package containing common code for performing full syntactic parsing.</div> |
| </div> |
| <div class="col-first even-row-color"><a href="#opennlp.tools.parser.chunking">opennlp.tools.parser.chunking</a></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Package containing code for performing full syntactic parsing using shift/reduce-style decisions.</div> |
| </div> |
| <div class="col-first odd-row-color"><a href="#opennlp.tools.parser.lang.en">opennlp.tools.parser.lang.en</a></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><a href="#opennlp.tools.parser.lang.es">opennlp.tools.parser.lang.es</a></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><a href="#opennlp.tools.parser.treeinsert">opennlp.tools.parser.treeinsert</a></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Package containing experimental code for performing full syntactic |
| parsing using attachment decisions.</div> |
| </div> |
| </div> |
| <section class="class-uses"> |
| <ul class="block-list"> |
| <li> |
| <section class="detail" id="opennlp.tools.cmdline.parser"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../../cmdline/parser/package-summary.html">opennlp.tools.cmdline.parser</a></h2> |
| <div class="caption"><span>Methods in <a href="../../cmdline/parser/package-summary.html">opennlp.tools.cmdline.parser</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserTool.</span><code><a href="../../cmdline/parser/ParserTool.html#parseLine(java.lang.String,opennlp.tools.parser.Parser,int)" class="member-name-link">parseLine</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> line, |
| <a href="../Parser.html" title="interface in opennlp.tools.parser">Parser</a> parser, |
| int numParses)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ParserTool.</span><code><a href="../../cmdline/parser/ParserTool.html#parseLine(java.lang.String,opennlp.tools.parser.Parser,opennlp.tools.tokenize.Tokenizer,int)" class="member-name-link">parseLine</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> line, |
| <a href="../Parser.html" title="interface in opennlp.tools.parser">Parser</a> parser, |
| <a href="../../tokenize/Tokenizer.html" title="interface in opennlp.tools.tokenize">Tokenizer</a> tokenizer, |
| int numParses)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| <div class="caption"><span>Method parameters in <a href="../../cmdline/parser/package-summary.html">opennlp.tools.cmdline.parser</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>protected <a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">BuildModelUpdaterTool.</span><code><a href="../../cmdline/parser/BuildModelUpdaterTool.html#trainAndUpdate(opennlp.tools.parser.ParserModel,opennlp.tools.util.ObjectStream,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams)" class="member-name-link">trainAndUpdate</a><wbr>(<a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a> originalModel, |
| <a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> parseSamples, |
| opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">CheckModelUpdaterTool.</span><code><a href="../../cmdline/parser/CheckModelUpdaterTool.html#trainAndUpdate(opennlp.tools.parser.ParserModel,opennlp.tools.util.ObjectStream,opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams)" class="member-name-link">trainAndUpdate</a><wbr>(<a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a> originalModel, |
| <a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> parseSamples, |
| opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.formats"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../../formats/package-summary.html">opennlp.tools.formats</a></h2> |
| <div class="caption"><span>Methods in <a href="../../formats/package-summary.html">opennlp.tools.formats</a> that return types with arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParseSampleStreamFactory.</span><code><a href="../../formats/ParseSampleStreamFactory.html#create(java.lang.String%5B%5D)" class="member-name-link">create</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>[] args)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.formats.convert"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../../formats/convert/package-summary.html">opennlp.tools.formats.convert</a></h2> |
| <div class="caption"><span>Constructor parameters in <a href="../../formats/convert/package-summary.html">opennlp.tools.formats.convert</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../../formats/convert/ParseToPOSSampleStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream)" class="member-name-link">ParseToPOSSampleStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> samples)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="../../formats/convert/ParseToPOSSampleStream.html" title="class in opennlp.tools.formats.convert"><code>ParseToPOSSampleStream</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.formats.frenchtreebank"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../../formats/frenchtreebank/package-summary.html">opennlp.tools.formats.frenchtreebank</a></h2> |
| <div class="caption"><span>Methods in <a href="../../formats/frenchtreebank/package-summary.html">opennlp.tools.formats.frenchtreebank</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ConstitParseSampleStream.</span><code><a href="../../formats/frenchtreebank/ConstitParseSampleStream.html#read()" class="member-name-link">read</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../../formats/frenchtreebank/package-summary.html">opennlp.tools.formats.frenchtreebank</a> that return types with arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ConstitParseSampleStreamFactory.</span><code><a href="../../formats/frenchtreebank/ConstitParseSampleStreamFactory.html#create(java.lang.String%5B%5D)" class="member-name-link">create</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>[] args)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.formats.ontonotes"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../../formats/ontonotes/package-summary.html">opennlp.tools.formats.ontonotes</a></h2> |
| <div class="caption"><span>Methods in <a href="../../formats/ontonotes/package-summary.html">opennlp.tools.formats.ontonotes</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">OntoNotesParseSampleStream.</span><code><a href="../../formats/ontonotes/OntoNotesParseSampleStream.html#read()" class="member-name-link">read</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../../formats/ontonotes/package-summary.html">opennlp.tools.formats.ontonotes</a> that return types with arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">OntoNotesParseSampleStreamFactory.</span><code><a href="../../formats/ontonotes/OntoNotesParseSampleStreamFactory.html#create(java.lang.String%5B%5D)" class="member-name-link">create</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>[] args)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.parser"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../package-summary.html">opennlp.tools.parser</a></h2> |
| <div class="caption"><span>Methods in <a href="../package-summary.html">opennlp.tools.parser</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#adjoin(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules)" class="member-name-link">adjoin</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> sister, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Sister adjoins this node's last child and the specified sister node and returns their |
| new parent node.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#adjoinRoot(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules,int)" class="member-name-link">adjoinRoot</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| int parseIndex)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceChunks(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double minChunkScore)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Returns the top chunk sequences for the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected abstract <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Advances the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> and returns the an array advanced parses whose |
| probability accounts for more than the specified amount of probability mass.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceTags(opennlp.tools.parser.Parse)" class="member-name-link">advanceTags</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Advances the <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> by assigning it POS tags and returns multiple tag sequences.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#clone(opennlp.tools.parser.Parse)" class="member-name-link">clone</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Clones the right frontier of <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> up to the specified <code>node</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#cloneRoot(opennlp.tools.parser.Parse,int)" class="member-name-link">cloneRoot</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| int parseIndex)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Clones the right frontier of this root <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> up to and including the specified node.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#collapsePunctuation(opennlp.tools.parser.Parse%5B%5D,java.util.Set)" class="member-name-link">collapsePunctuation</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</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>> punctSet)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Removes the punctuation from the specified set of <code>chunks</code>, adds it to the |
| parses adjacent to the punctuation is specified, and returns a new array of parses |
| with the punctuation removed.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getChildren()" class="member-name-link">getChildren</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getCommonParent(opennlp.tools.parser.Parse)" class="member-name-link">getCommonParent</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns the deepest shared parent of this node and the specified node.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">HeadRules.</span><code><a href="../HeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Retrieves the head <a href="../Parse.html" title="class in opennlp.tools.parser"><code>constituent</code></a> for the specified constituents of given <code>type</code>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getHead()" class="member-name-link">getHead</a>()</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractParserEventStream.</span><code><a href="../AbstractParserEventStream.html#getInitialChunks(opennlp.tools.parser.Parse)" class="member-name-link">getInitialChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ChunkSampleStream.</span><code><a href="../ChunkSampleStream.html#getInitialChunks(opennlp.tools.parser.Parse)" class="member-name-link">getInitialChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getParent()" class="member-name-link">getParent</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getTagNodes()" class="member-name-link">getTagNodes</a>()</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getTokenNodes()" class="member-name-link">getTokenNodes</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#parse(opennlp.tools.parser.Parse)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#parse(opennlp.tools.parser.Parse,int)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens, |
| int numParses)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../Parser.html#parse(opennlp.tools.parser.Parse)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns a <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> for the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> of <code>tokens</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../Parser.html#parse(opennlp.tools.parser.Parse,int)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens, |
| int numParses)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Returns the specified number of parses or fewer for the specified tokens.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#parseParse(java.lang.String)" class="member-name-link">parseParse</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> parse)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Parses the specified tree-bank style parse string and return a <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> structure |
| for that string.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#parseParse(java.lang.String,opennlp.tools.parser.GapLabeler)" class="member-name-link">parseParse</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> parse, |
| <a href="../GapLabeler.html" title="interface in opennlp.tools.parser">GapLabeler</a> gl)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Parses the specified tree-bank style <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> string and return a <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> structure |
| for that string.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected final <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ParserEvaluator.</span><code><a href="../ParserEvaluator.html#processSample(opennlp.tools.parser.Parse)" class="member-name-link">processSample</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> reference)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParseSampleStream.</span><code><a href="../ParseSampleStream.html#read()" class="member-name-link">read</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../package-summary.html">opennlp.tools.parser</a> that return types with arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getNextPunctuationSet()" class="member-name-link">getNextPunctuationSet</a>()</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getPreviousPunctuationSet()" class="member-name-link">getPreviousPunctuationSet</a>()</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../package-summary.html">opennlp.tools.parser</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#add(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules)" class="member-name-link">add</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> daughter, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#addNames(java.lang.String,opennlp.tools.util.Span%5B%5D,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">addNames</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> tag, |
| <a href="../../util/Span.html" title="class in opennlp.tools.util">Span</a>[] names, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] tokens)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Utility method to insert named entities.</div> |
| </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#addNextPunctuation(opennlp.tools.parser.Parse)" class="member-name-link">addNextPunctuation</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> punct)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Designates that the specified punctuation follows this parse.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected abstract void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractParserEventStream.</span><code><a href="../AbstractParserEventStream.html#addParseEvents(java.util.List,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">addParseEvents</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../../ml/model/Event.html" title="class in opennlp.tools.ml.model">Event</a>> newEvents, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Produces all events for the specified sentence <code>chunks</code> |
| and adds them to the specified <code>newEvents</code> list.</div> |
| </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#addPreviousPunctuation(opennlp.tools.parser.Parse)" class="member-name-link">addPreviousPunctuation</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> punct)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Designates that the specified punctuation should is prior to this parse.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#adjoin(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules)" class="member-name-link">adjoin</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> sister, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Sister adjoins this node's last child and the specified sister node and returns their |
| new parent node.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#adjoinRoot(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules,int)" class="member-name-link">adjoinRoot</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| int parseIndex)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceChunks(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double minChunkScore)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns the top chunk sequences for the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected abstract <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Advances the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> and returns the an array advanced parses whose |
| probability accounts for more than the specified amount of probability mass.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceTags(opennlp.tools.parser.Parse)" class="member-name-link">advanceTags</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Advances the <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> by assigning it POS tags and returns multiple tag sequences.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected abstract void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#advanceTop(opennlp.tools.parser.Parse)" class="member-name-link">advanceTop</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Adds the <a href="../AbstractBottomUpParser.html#TOP_NODE"><code>AbstractBottomUpParser.TOP_NODE</code></a> to the specified parse.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#checkcons(opennlp.tools.parser.Parse,java.lang.String,java.lang.String,java.util.List)" class="member-name-link">checkcons</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> child, |
| <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> i, |
| <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> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Produces features to determine whether the specified child node is part of |
| a complete constituent of the specified type and adds those features to the |
| specified list.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#checkcons(opennlp.tools.parser.Parse,opennlp.tools.parser.Parse,java.lang.String,java.util.List)" class="member-name-link">checkcons</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p1, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p2, |
| <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> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#clone(opennlp.tools.parser.Parse)" class="member-name-link">clone</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Clones the right frontier of <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> up to the specified <code>node</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#cloneRoot(opennlp.tools.parser.Parse,int)" class="member-name-link">cloneRoot</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| int parseIndex)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Clones the right frontier of this root <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> up to and including the specified node.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#collapsePunctuation(opennlp.tools.parser.Parse%5B%5D,java.util.Set)" class="member-name-link">collapsePunctuation</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</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>> punctSet)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Removes the punctuation from the specified set of <code>chunks</code>, adds it to the |
| parses adjacent to the punctuation is specified, and returns a new array of parses |
| with the punctuation removed.</div> |
| </div> |
| <div class="col-first even-row-color"><code>int</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#compareTo(opennlp.tools.parser.Parse)" class="member-name-link">compareTo</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <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></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#cons(opennlp.tools.parser.Parse,int)" class="member-name-link">cons</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| int i)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected <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></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#consbo(opennlp.tools.parser.Parse,int)" class="member-name-link">consbo</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| int i)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Iterator.html" title="class or interface in java.util" class="external-link">Iterator</a><<a href="../../ml/model/Event.html" title="class in opennlp.tools.ml.model">Event</a>></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractParserEventStream.</span><code><a href="../AbstractParserEventStream.html#createEvents(opennlp.tools.parser.Parse)" class="member-name-link">createEvents</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> sample)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#expandTopNode(opennlp.tools.parser.Parse)" class="member-name-link">expandTopNode</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> root)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#fixPossesives(opennlp.tools.parser.Parse)" class="member-name-link">fixPossesives</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parse)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#getCommonParent(opennlp.tools.parser.Parse)" class="member-name-link">getCommonParent</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Returns the deepest shared parent of this node and the specified node.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#getFrontierNodes(java.util.List,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">getFrontierNodes</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> rf, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] nodes)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Populates specified nodes array with left-most right frontier |
| node with a unique head.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">HeadRules.</span><code><a href="../HeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Retrieves the head <a href="../Parse.html" title="class in opennlp.tools.parser"><code>constituent</code></a> for the specified constituents of given <code>type</code>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractParserEventStream.</span><code><a href="../AbstractParserEventStream.html#getInitialChunks(opennlp.tools.parser.Parse)" class="member-name-link">getInitialChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ChunkSampleStream.</span><code><a href="../ChunkSampleStream.html#getInitialChunks(opennlp.tools.parser.Parse)" class="member-name-link">getInitialChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>int</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#indexOf(opennlp.tools.parser.Parse)" class="member-name-link">indexOf</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> child)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#insert(opennlp.tools.parser.Parse)" class="member-name-link">insert</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> constituent)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Inserts the specified constituent into this parse based on its text span.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractParserEventStream.</span><code><a href="../AbstractParserEventStream.html#lastChild(opennlp.tools.parser.Parse,opennlp.tools.parser.Parse)" class="member-name-link">lastChild</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> child, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns <code>true</code> if the <a href="../Parse.html" title="class in opennlp.tools.parser"><code>child</code></a> is the last child of the specified |
| <a href="../Parse.html" title="class in opennlp.tools.parser"><code>parent</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected int</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#mapParseIndex(int,opennlp.tools.parser.Parse%5B%5D,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">mapParseIndex</a><wbr>(int index, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] nonPunctParses, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] parses)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Determines the mapping between the specified <code>index</code> into the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>parses</code></a> |
| without punctuation to the corresponding index into the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>parses</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#parse(opennlp.tools.parser.Parse)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#parse(opennlp.tools.parser.Parse,int)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens, |
| int numParses)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../Parser.html#parse(opennlp.tools.parser.Parse)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns a <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> for the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> of <code>tokens</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../Parser.html#parse(opennlp.tools.parser.Parse,int)" class="member-name-link">parse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> tokens, |
| int numParses)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Returns the specified number of parses or fewer for the specified tokens.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected final <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ParserEvaluator.</span><code><a href="../ParserEvaluator.html#processSample(opennlp.tools.parser.Parse)" class="member-name-link">processSample</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> reference)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected <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></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#production(opennlp.tools.parser.Parse,boolean)" class="member-name-link">production</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| boolean includePunctuation)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Generates a string representing the grammar rule production that the specified parse |
| is starting.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#pruneParse(opennlp.tools.parser.Parse)" class="member-name-link">pruneParse</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parse)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Prune the specified sentence parse of vacuous productions.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected <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></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#punct(opennlp.tools.parser.Parse,int)" class="member-name-link">punct</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> punct, |
| int i)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates punctuation feature for the specified punctuation at the specified index |
| <code>i</code> based on the <code>punctuation</code> mark.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected <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></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#punctbo(opennlp.tools.parser.Parse,int)" class="member-name-link">punctbo</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> punct, |
| int i)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates punctuation feature for the specified punctuation at the specified index |
| <code>i</code> based on the <code>punctuation</code>'s tag.</div> |
| </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#setParent(opennlp.tools.parser.Parse)" class="member-name-link">setParent</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Specifies the parent parse node for this constituent.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#setParents(opennlp.tools.parser.Parse)" class="member-name-link">setParents</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Assigns parent references for the specified parse so that they |
| are consistent with the children references.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#surround(opennlp.tools.parser.Parse,int,java.lang.String,java.util.Collection,java.util.List)" class="member-name-link">surround</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| int i, |
| <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> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punctuation, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Generates features for nodes surrounding a completed node of the specified <code>type</code>.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Method parameters in <a href="../package-summary.html">opennlp.tools.parser</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>static <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary">Dictionary</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#buildDictionary(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,int)" class="member-name-link">buildDictionary</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> data, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| int cutoff)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a n-gram <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary"><code>Dictionary</code></a> from the specified data stream using <a href="../HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> |
| and specified cut-off.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary">Dictionary</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractBottomUpParser.</span><code><a href="../AbstractBottomUpParser.html#buildDictionary(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.util.TrainingParameters)" class="member-name-link">buildDictionary</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> data, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../../util/TrainingParameters.html" title="class in opennlp.tools.util">TrainingParameters</a> params)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates a n-gram <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary"><code>Dictionary</code></a> from the specified data stream using the specified |
| head rule and specified cut-off.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#cons2(java.util.List,opennlp.tools.parser.Cons,opennlp.tools.parser.Cons,java.util.Collection,boolean)" class="member-name-link">cons2</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features, |
| <a href="../Cons.html" title="class in opennlp.tools.parser">Cons</a> c0, |
| <a href="../Cons.html" title="class in opennlp.tools.parser">Cons</a> c1, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punct1s, |
| boolean bigram)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#cons3(java.util.List,opennlp.tools.parser.Cons,opennlp.tools.parser.Cons,opennlp.tools.parser.Cons,java.util.Collection,java.util.Collection,boolean,boolean,boolean)" class="member-name-link">cons3</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features, |
| <a href="../Cons.html" title="class in opennlp.tools.parser">Cons</a> c0, |
| <a href="../Cons.html" title="class in opennlp.tools.parser">Cons</a> c1, |
| <a href="../Cons.html" title="class in opennlp.tools.parser">Cons</a> c2, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punct1s, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punct2s, |
| boolean trigram, |
| boolean bigram1, |
| boolean bigram2)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates cons features involving the 3 specified nodes and adds them to the specified feature list.</div> |
| </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserCrossValidator.</span><code><a href="../ParserCrossValidator.html#evaluate(opennlp.tools.util.ObjectStream,int)" class="member-name-link">evaluate</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> samples, |
| int nFolds)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Starts the evaluation.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#getFrontierNodes(java.util.List,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">getFrontierNodes</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> rf, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] nodes)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Populates specified nodes array with left-most right frontier |
| node with a unique head.</div> |
| </div> |
| <div class="col-first even-row-color"><code>void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#setNextPunctuation(java.util.Collection)" class="member-name-link">setNextPunctuation</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punctSet)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Sets the <a href="../Parse.html" title="class in opennlp.tools.parser"><code>punctuation tags</code></a> which follow this parse.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parse.</span><code><a href="../Parse.html#setPrevPunctuation(java.util.Collection)" class="member-name-link">setPrevPunctuation</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punctSet)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Sets the <a href="../Parse.html" title="class in opennlp.tools.parser"><code>punctuation tags</code></a> which precede this parse.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AbstractContextGenerator.</span><code><a href="../AbstractContextGenerator.html#surround(opennlp.tools.parser.Parse,int,java.lang.String,java.util.Collection,java.util.List)" class="member-name-link">surround</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> node, |
| int i, |
| <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> type, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> punctuation, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</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>> features)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Generates features for nodes surrounding a completed node of the specified <code>type</code>.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Constructors in <a href="../package-summary.html">opennlp.tools.parser</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../Parse.html#%3Cinit%3E(java.lang.String,opennlp.tools.util.Span,java.lang.String,double,opennlp.tools.parser.Parse)" class="member-name-link">Parse</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> text, |
| <a href="../../util/Span.html" title="class in opennlp.tools.util">Span</a> span, |
| <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> type, |
| double p, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> h)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="../Parse.html" title="class in opennlp.tools.parser"><code>node</code></a> for this specified <code>text</code> and <code>span</code> of the |
| specified <code>type</code> with probability <code>p</code> and the head <code>index</code>.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Constructor parameters in <a href="../package-summary.html">opennlp.tools.parser</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../AbstractParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum)" class="member-name-link">AbstractParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code> </code></div> |
| <div class="col-second odd-row-color"><code><a href="../AbstractParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum,opennlp.tools.dictionary.Dictionary)" class="member-name-link">AbstractParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype, |
| <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary">Dictionary</a> dict)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../ChunkSampleStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream)" class="member-name-link">ChunkSampleStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> in)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Initializes a <a href="../ChunkSampleStream.html" title="class in opennlp.tools.parser"><code>instance</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code> </code></div> |
| <div class="col-second odd-row-color"><code><a href="../PosSampleStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream)" class="member-name-link">PosSampleStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> in)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Initializes a <a href="../PosSampleStream.html" title="class in opennlp.tools.parser"><code>instance</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.parser.chunking"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../chunking/package-summary.html">opennlp.tools.parser.chunking</a></h2> |
| <div class="caption"><span>Methods in <a href="../chunking/package-summary.html">opennlp.tools.parser.chunking</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../chunking/Parser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../chunking/ParserEventStream.html#reduceChunks(opennlp.tools.parser.Parse%5B%5D,int,opennlp.tools.parser.Parse)" class="member-name-link">reduceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks, |
| int ci, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../chunking/package-summary.html">opennlp.tools.parser.chunking</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../chunking/ParserEventStream.html#addParseEvents(java.util.List,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">addParseEvents</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../../ml/model/Event.html" title="class in opennlp.tools.ml.model">Event</a>> parseEvents, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Adds <a href="../../ml/model/Event.html" title="class in opennlp.tools.ml.model"><code>events</code></a> for parsing (post tagging and chunking) |
| to the specified list of events for the specified parse chunks.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../chunking/Parser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../chunking/Parser.html#advanceTop(opennlp.tools.parser.Parse)" class="member-name-link">advanceTop</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../chunking/ParserEventStream.html#firstChild(opennlp.tools.parser.Parse,opennlp.tools.parser.Parse)" class="member-name-link">firstChild</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> child, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><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>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">BuildContextGenerator.</span><code><a href="../chunking/BuildContextGenerator.html#getContext(opennlp.tools.parser.Parse%5B%5D,int)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| int index)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Finds the predictive context used to determine how constituent at the specified <code>index</code> |
| should be combined with other constituents.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><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>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">CheckContextGenerator.</span><code><a href="../chunking/CheckContextGenerator.html#getContext(opennlp.tools.parser.Parse%5B%5D,java.lang.String,int,int)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type, |
| int start, |
| int end)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Finds predictive context for deciding whether the specified constituents between the |
| specified <code>start</code> and <code>end</code> index can be combined to form a |
| new constituent of the specified <code>type</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../chunking/ParserEventStream.html#reduceChunks(opennlp.tools.parser.Parse%5B%5D,int,opennlp.tools.parser.Parse)" class="member-name-link">reduceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks, |
| int ci, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Method parameters in <a href="../chunking/package-summary.html">opennlp.tools.parser.chunking</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>static <a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../chunking/Parser.html#train(java.lang.String,opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.util.TrainingParameters)" class="member-name-link">train</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="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> parseSamples, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../../util/TrainingParameters.html" title="class in opennlp.tools.util">TrainingParameters</a> mlParams)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Starts a training of a <a href="../ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Constructor parameters in <a href="../chunking/package-summary.html">opennlp.tools.parser.chunking</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../chunking/ParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum)" class="member-name-link">ParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Instantiates a <a href="../chunking/ParserEventStream.html" title="class in opennlp.tools.parser.chunking"><code>ParserEventStream</code></a> based on the specified data stream |
| of the <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser"><code>type</code></a> using <a href="../HeadRules.html" title="interface in opennlp.tools.parser"><code>head rules</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code> </code></div> |
| <div class="col-second odd-row-color"><code><a href="../chunking/ParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum,opennlp.tools.dictionary.Dictionary)" class="member-name-link">ParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype, |
| <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary">Dictionary</a> dict)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Instantiates a <a href="../chunking/ParserEventStream.html" title="class in opennlp.tools.parser.chunking"><code>ParserEventStream</code></a> based on the specified data stream |
| of the <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser"><code>type</code></a> using <a href="../HeadRules.html" title="interface in opennlp.tools.parser"><code>head rules</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.parser.lang.en"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../lang/en/package-summary.html">opennlp.tools.parser.lang.en</a></h2> |
| <div class="caption"><span>Methods in <a href="../lang/en/package-summary.html">opennlp.tools.parser.lang.en</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">HeadRules.</span><code><a href="../lang/en/HeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../lang/en/package-summary.html">opennlp.tools.parser.lang.en</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">HeadRules.</span><code><a href="../lang/en/HeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.parser.lang.es"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../lang/es/package-summary.html">opennlp.tools.parser.lang.es</a></h2> |
| <div class="caption"><span>Methods in <a href="../lang/es/package-summary.html">opennlp.tools.parser.lang.es</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AncoraSpanishHeadRules.</span><code><a href="../lang/es/AncoraSpanishHeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../lang/es/package-summary.html">opennlp.tools.parser.lang.es</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AncoraSpanishHeadRules.</span><code><a href="../lang/es/AncoraSpanishHeadRules.html#getHead(opennlp.tools.parser.Parse%5B%5D,java.lang.String)" class="member-name-link">getHead</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| <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> type)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="opennlp.tools.parser.treeinsert"> |
| <h2>Uses of <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a></h2> |
| <div class="caption"><span>Methods in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a> that return <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#advanceChunks(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double minChunkScore)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a> that return types with arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#getRightFrontier(opennlp.tools.parser.Parse,java.util.Set)" class="member-name-link">getRightFrontier</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> root, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</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>> punctSet)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Returns the right frontier of the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>tree</code></a> with nodes ordered from deepest |
| to shallowest.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Methods in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a> with parameters of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code>protected void</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../treeinsert/ParserEventStream.html#addParseEvents(java.util.List,opennlp.tools.parser.Parse%5B%5D)" class="member-name-link">addParseEvents</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../../ml/model/Event.html" title="class in opennlp.tools.ml.model">Event</a>> parseEvents, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] chunks)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#advanceChunks(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceChunks</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double minChunkScore)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#advanceParses(opennlp.tools.parser.Parse,double)" class="member-name-link">advanceParses</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p, |
| double probMass)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected void</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#advanceTop(opennlp.tools.parser.Parse)" class="member-name-link">advanceTop</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> p)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code><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>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AttachContextGenerator.</span><code><a href="../treeinsert/AttachContextGenerator.html#getContext(opennlp.tools.parser.Parse%5B%5D,int,java.util.List,int)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| int index, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> rightFrontier, |
| int rfi)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Finds the predictive contextual features about an attachment.</div> |
| </div> |
| <div class="col-first odd-row-color"><code><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>[]</code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">BuildContextGenerator.</span><code><a href="../treeinsert/BuildContextGenerator.html#getContext(opennlp.tools.parser.Parse%5B%5D,int)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| int index)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Finds the contexts/features for the decision to build a new constituent for the specified parse |
| at the specified <code>index</code>.</div> |
| </div> |
| <div class="col-first even-row-color"><code><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>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">CheckContextGenerator.</span><code><a href="../treeinsert/CheckContextGenerator.html#getContext(opennlp.tools.parser.Parse,opennlp.tools.parser.Parse%5B%5D,int,boolean)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| int index, |
| boolean trimFrontier)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Finds the predictive context used to determine how constituent at the specified <code>index</code> |
| should be combined with a <code>parent</code> constituent.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#getRightFrontier(opennlp.tools.parser.Parse,java.util.Set)" class="member-name-link">getRightFrontier</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> root, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Set.html" title="class or interface in java.util" class="external-link">Set</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>> punctSet)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Returns the right frontier of the specified <a href="../Parse.html" title="class in opennlp.tools.parser"><code>tree</code></a> with nodes ordered from deepest |
| to shallowest.</div> |
| </div> |
| <div class="col-first even-row-color"><code>protected boolean</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">ParserEventStream.</span><code><a href="../treeinsert/ParserEventStream.html#lastChild(opennlp.tools.parser.Parse,opennlp.tools.parser.Parse)" class="member-name-link">lastChild</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> child, |
| <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a> parent)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| <div class="caption"><span>Method parameters in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <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"><code><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>[]</code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">AttachContextGenerator.</span><code><a href="../treeinsert/AttachContextGenerator.html#getContext(opennlp.tools.parser.Parse%5B%5D,int,java.util.List,int)" class="member-name-link">getContext</a><wbr>(<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>[] constituents, |
| int index, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> rightFrontier, |
| int rfi)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Finds the predictive contextual features about an attachment.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>static <a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second odd-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#train(java.lang.String,opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,int,int)" class="member-name-link">train</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="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> parseSamples, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| int iterations, |
| int cutoff)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Starts a training of a <a href="../ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>static <a href="../ParserModel.html" title="class in opennlp.tools.parser">ParserModel</a></code></div> |
| <div class="col-second even-row-color"><span class="type-name-label">Parser.</span><code><a href="../treeinsert/Parser.html#train(java.lang.String,opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.util.TrainingParameters)" class="member-name-link">train</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="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> parseSamples, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../../util/TrainingParameters.html" title="class in opennlp.tools.util">TrainingParameters</a> mlParams)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Starts a training of a <a href="../ParserModel.html" title="class in opennlp.tools.parser"><code>ParserModel</code></a>.</div> |
| </div> |
| </div> |
| <div class="caption"><span>Constructor parameters in <a href="../treeinsert/package-summary.html">opennlp.tools.parser.treeinsert</a> with type arguments of type <a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a></span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-second even-row-color"><code><a href="../treeinsert/ParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum)" class="member-name-link">ParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Instantiates a <a href="../treeinsert/ParserEventStream.html" title="class in opennlp.tools.parser.treeinsert"><code>ParserEventStream</code></a> based on the specified data stream |
| of the <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser"><code>type</code></a> using <a href="../HeadRules.html" title="interface in opennlp.tools.parser"><code>head rules</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code> </code></div> |
| <div class="col-second odd-row-color"><code><a href="../treeinsert/ParserEventStream.html#%3Cinit%3E(opennlp.tools.util.ObjectStream,opennlp.tools.parser.HeadRules,opennlp.tools.parser.ParserEventTypeEnum,opennlp.tools.dictionary.Dictionary)" class="member-name-link">ParserEventStream</a><wbr>(<a href="../../util/ObjectStream.html" title="interface in opennlp.tools.util">ObjectStream</a><<a href="../Parse.html" title="class in opennlp.tools.parser">Parse</a>> d, |
| <a href="../HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a> rules, |
| <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser">ParserEventTypeEnum</a> etype, |
| <a href="../../dictionary/Dictionary.html" title="class in opennlp.tools.dictionary">Dictionary</a> dict)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Instantiates a <a href="../treeinsert/ParserEventStream.html" title="class in opennlp.tools.parser.treeinsert"><code>ParserEventStream</code></a> based on the specified data stream |
| of the <a href="../ParserEventTypeEnum.html" title="enum class in opennlp.tools.parser"><code>type</code></a> using <a href="../HeadRules.html" title="interface in opennlp.tools.parser"><code>head rules</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </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> |