blob: 84ca21a4698280a9b4662dfeded2ecc42ad498a9 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) -->
<title>Parse (Apache OpenNLP Tools 2.3.3 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: opennlp.tools.parser, class: Parse">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">opennlp.tools.parser</a></div>
<h1 title="Class Parse" class="title">Class Parse</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">opennlp.tools.parser.Parse</div>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">Parse</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>
implements <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html" title="class or interface in java.lang" class="external-link">Cloneable</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</span></div>
<div class="block">Data structure for holding parse constituents.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</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">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final <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"><code><a href="#BRACKET_LCB" class="member-name-link">BRACKET_LCB</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static final <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"><code><a href="#BRACKET_LRB" class="member-name-link">BRACKET_LRB</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static final <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"><code><a href="#BRACKET_LSB" class="member-name-link">BRACKET_LSB</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static final <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"><code><a href="#BRACKET_RCB" class="member-name-link">BRACKET_RCB</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static final <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"><code><a href="#BRACKET_RRB" class="member-name-link">BRACKET_RRB</a></code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static final <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"><code><a href="#BRACKET_RSB" class="member-name-link">BRACKET_RSB</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(java.lang.String,opennlp.tools.util.Span,java.lang.String,double,int)" 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>&nbsp;text,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>&nbsp;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>&nbsp;type,
double&nbsp;p,
int&nbsp;index)</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 class="col-constructor-name odd-row-color"><code><a href="#%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>&nbsp;text,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>&nbsp;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>&nbsp;type,
double&nbsp;p,
<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;h)</code></div>
<div class="col-last odd-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>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&nbsp;daughter,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#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>&nbsp;tag,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>[]&nbsp;names,
<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]&nbsp;tokens)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Utility method to insert named entities.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addNextPunctuation(opennlp.tools.parser.Parse)" class="member-name-link">addNextPunctuation</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;punct)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Designates that the specified punctuation follows this parse.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addPreviousPunctuation(opennlp.tools.parser.Parse)" class="member-name-link">addPreviousPunctuation</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;punct)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Designates that the specified punctuation should is prior to this parse.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addProb(double)" class="member-name-link">addProb</a><wbr>(double&nbsp;logProb)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Adds the specified <code>logProb</code> to this current log for this parse.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&nbsp;sister,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&nbsp;node,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules,
int&nbsp;parseIndex)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone()" class="member-name-link">clone</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#clone(opennlp.tools.parser.Parse)" class="member-name-link">clone</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<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 odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&nbsp;node,
int&nbsp;parseIndex)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#compareTo(opennlp.tools.parser.Parse)" class="member-name-link">compareTo</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;p)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#complete()" class="member-name-link">complete</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#equals(java.lang.Object)" class="member-name-link">equals</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;obj)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#expandTopNode(opennlp.tools.parser.Parse)" class="member-name-link">expandTopNode</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;root)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#fixPossesives(opennlp.tools.parser.Parse)" class="member-name-link">fixPossesives</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parse)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getChildCount()" class="member-name-link">getChildCount</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getChildren()" class="member-name-link">getChildren</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCommonParent(opennlp.tools.parser.Parse)" class="member-name-link">getCommonParent</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns the deepest shared parent of this node and the specified node.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCoveredText()" class="member-name-link">getCoveredText</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getDerivation()" class="member-name-link">getDerivation</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHead()" class="member-name-link">getHead</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getHeadIndex()" class="member-name-link">getHeadIndex</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getLabel()" class="member-name-link">getLabel</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Retrieves the label assigned to this parse node during parsing
which specifies how this node will be formed into a constituent.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNextPunctuationSet()" class="member-name-link">getNextPunctuationSet</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getParent()" class="member-name-link">getParent</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPreviousPunctuationSet()" class="member-name-link">getPreviousPunctuationSet</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getProb()" class="member-name-link">getProb</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../util/Span.html" title="class in opennlp.tools.util">Span</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getSpan()" class="member-name-link">getSpan</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTagNodes()" class="member-name-link">getTagNodes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTagSequenceProb()" class="member-name-link">getTagSequenceProb</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getText()" class="member-name-link">getText</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTokenNodes()" class="member-name-link">getTokenNodes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getType()" class="member-name-link">getType</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#hashCode()" class="member-name-link">hashCode</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#indexOf(opennlp.tools.parser.Parse)" class="member-name-link">indexOf</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;child)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#insert(opennlp.tools.parser.Parse)" class="member-name-link">insert</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;constituent)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Inserts the specified constituent into this parse based on its text span.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isChunk()" class="member-name-link">isChunk</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isChunk(boolean)" class="member-name-link">isChunk</a><wbr>(boolean&nbsp;ic)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isFlat()" class="member-name-link">isFlat</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Indicates whether this parse node contains no sub-constituents.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isPosTag()" class="member-name-link">isPosTag</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Indicates whether this parse node is a pos-tag.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#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>&nbsp;parse)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<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 odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#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>&nbsp;parse,
<a href="GapLabeler.html" title="interface in opennlp.tools.parser">GapLabeler</a>&nbsp;gl)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<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 even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#pruneParse(opennlp.tools.parser.Parse)" class="member-name-link">pruneParse</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parse)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Prune the specified sentence parse of vacuous productions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#remove(int)" class="member-name-link">remove</a><wbr>(int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setChild(int,java.lang.String)" class="member-name-link">setChild</a><wbr>(int&nbsp;index,
<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>&nbsp;label)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Replaces the child at the specified index with a new child with the specified label.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setDerivation(java.lang.StringBuffer)" class="member-name-link">setDerivation</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a>&nbsp;derivation)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Specifies the derivation string to be associated with this parse.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setLabel(java.lang.String)" class="member-name-link">setLabel</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>&nbsp;label)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Assigns this parse the specified label.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;&nbsp;punctSet)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<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 even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setParent(opennlp.tools.parser.Parse)" class="member-name-link">setParent</a><wbr>(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parent)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Specifies the parent parse node for this constituent.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;&nbsp;punctSet)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setType(java.lang.String)" class="member-name-link">setType</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>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Set the type of this constituent to the specified type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#show()" class="member-name-link">show</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Prints this parse using Penn Treebank-style formatting.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#show(java.lang.StringBuffer)" class="member-name-link">show</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a>&nbsp;sb)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Fills the specified <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link"><code>StringBuffer</code></a> with a string representation of this parse.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#showCodeTree()" class="member-name-link">showCodeTree</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Prints to standard out a representation of the specified parse which
contains hash codes so that parent/child relationships can be explicitly seen.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Represents this <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> in a human-readable way.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><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 method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toStringPennTreebank()" class="member-name-link">toStringPennTreebank</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateHeads(opennlp.tools.parser.HeadRules)" class="member-name-link">updateHeads</a><wbr>(<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Computes the head parses for this parse and its sub-parses and stores this information
in the parse data structure.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#updateSpan()" class="member-name-link">updateSpan</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#useFunctionTags(boolean)" class="member-name-link">useFunctionTags</a><wbr>(boolean&nbsp;uft)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Specifies whether function tags should be included as part of the constituent type.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="BRACKET_LRB">
<h3>BRACKET_LRB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_LRB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_LRB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="BRACKET_RRB">
<h3>BRACKET_RRB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_RRB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_RRB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="BRACKET_LCB">
<h3>BRACKET_LCB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_LCB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_LCB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="BRACKET_RCB">
<h3>BRACKET_RCB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_RCB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_RCB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="BRACKET_LSB">
<h3>BRACKET_LSB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_LSB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_LSB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="BRACKET_RSB">
<h3>BRACKET_RSB</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">BRACKET_RSB</span></div>
<dl class="notes">
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="../../../constant-values.html#opennlp.tools.parser.Parse.BRACKET_RSB">Constant Field Values</a></li>
</ul>
</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(java.lang.String,opennlp.tools.util.Span,java.lang.String,double,int)">
<h3>Parse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Parse</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;text,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>&nbsp;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>&nbsp;type,
double&nbsp;p,
int&nbsp;index)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>text</code> - The text of the sentence for which this node is a part of.</dd>
<dd><code>span</code> - The <a href="../util/Span.html" title="class in opennlp.tools.util"><code>character offsets</code></a> for this node within the specified <code>text</code>.</dd>
<dd><code>type</code> - The constituent label of this node.</dd>
<dd><code>p</code> - The probability of this <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a>.</dd>
<dd><code>index</code> - The token index of the head of this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="&lt;init&gt;(java.lang.String,opennlp.tools.util.Span,java.lang.String,double,opennlp.tools.parser.Parse)">
<h3>Parse</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">Parse</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;text,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>&nbsp;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>&nbsp;type,
double&nbsp;p,
<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;h)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>text</code> - The text of the sentence for which this node is a part of.</dd>
<dd><code>span</code> - The <a href="../util/Span.html" title="class in opennlp.tools.util"><code>character offsets</code></a> for this node within the specified <code>text</code>.</dd>
<dd><code>type</code> - The constituent label of this node.</dd>
<dd><code>p</code> - The probability of this parse.</dd>
<dd><code>h</code> - The head token of this parse.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="clone()">
<h3>clone</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span>&nbsp;<span class="element-name">clone</span>()</div>
</section>
</li>
<li>
<section class="detail" id="clone(opennlp.tools.parser.Parse)">
<h3>clone</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">clone</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>node</code> - The last <code>node</code> in the right frontier of the parse tree to be cloned.</dd>
<dt>Returns:</dt>
<dd>A clone of this parse and its right frontier up to and including the specified node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="cloneRoot(opennlp.tools.parser.Parse,int)">
<h3>cloneRoot</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">cloneRoot</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node,
int&nbsp;parseIndex)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>node</code> - The last <code>node</code> in the right frontier of the parse tree to be cloned.</dd>
<dd><code>parseIndex</code> - The child index of the parse for this root <code>node</code>.</dd>
<dt>Returns:</dt>
<dd>A clone of this root parse and its right frontier up to and including the specified node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="useFunctionTags(boolean)">
<h3>useFunctionTags</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">useFunctionTags</span><wbr><span class="parameters">(boolean&nbsp;uft)</span></div>
<div class="block">Specifies whether function tags should be included as part of the constituent type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>uft</code> - <code>true</code> is they should be included, <code>false</code> otherwise.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setType(java.lang.String)">
<h3>setType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setType</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;type)</span></div>
<div class="block">Set the type of this constituent to the specified type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The type of this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getType()">
<h3>getType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">getType</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the constituent label for this node of the parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPreviousPunctuationSet()">
<h3>getPreviousPunctuationSet</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</span>&nbsp;<span class="element-name">getPreviousPunctuationSet</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the set of punctuation <a href="Parse.html" title="class in opennlp.tools.parser"><code>parses</code></a> that occur
immediately before this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addPreviousPunctuation(opennlp.tools.parser.Parse)">
<h3>addPreviousPunctuation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">addPreviousPunctuation</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;punct)</span></div>
<div class="block">Designates that the specified punctuation should is prior to this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>punct</code> - The <a href="Parse.html" title="class in opennlp.tools.parser"><code>punctuation</code></a> to be added.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNextPunctuationSet()">
<h3>getNextPunctuationSet</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</span>&nbsp;<span class="element-name">getNextPunctuationSet</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the set of punctuation <a href="Parse.html" title="class in opennlp.tools.parser"><code>parses</code></a> that occur
immediately after this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addNextPunctuation(opennlp.tools.parser.Parse)">
<h3>addNextPunctuation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">addNextPunctuation</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;punct)</span></div>
<div class="block">Designates that the specified punctuation follows this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>punct</code> - The <a href="Parse.html" title="class in opennlp.tools.parser"><code>punctuation</code></a> set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setNextPunctuation(java.util.Collection)">
<h3>setNextPunctuation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setNextPunctuation</span><wbr><span class="parameters">(<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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;&nbsp;punctSet)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>punctSet</code> - The punctuation tags which follow this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPrevPunctuation(java.util.Collection)">
<h3>setPrevPunctuation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setPrevPunctuation</span><wbr><span class="parameters">(<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>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;&nbsp;punctSet)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>punctSet</code> - The punctuation tags which precede this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="insert(opennlp.tools.parser.Parse)">
<h3>insert</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">insert</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;constituent)</span></div>
<div class="block">Inserts the specified constituent into this parse based on its text span.
This method assumes that the specified constituent can be inserted into this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>constituent</code> - The <a href="Parse.html" title="class in opennlp.tools.parser"><code>constituent</code></a> to be inserted.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="show(java.lang.StringBuffer)">
<h3>show</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">show</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a>&nbsp;sb)</span></div>
<div class="block">Fills the specified <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link"><code>StringBuffer</code></a> with a string representation of this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>sb</code> - A <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link"><code>StringBuffer</code></a> into which the parse string can be appended.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="show()">
<h3>show</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">show</span>()</div>
<div class="block">Prints this parse using Penn Treebank-style formatting.</div>
</section>
</li>
<li>
<section class="detail" id="getTagSequenceProb()">
<h3>getTagSequenceProb</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getTagSequenceProb</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the probability associated with the pos-tag sequence assigned
to this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="complete()">
<h3>complete</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">complete</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the parse contains a single top-most node (=complete),
<code>false</code> otherwise.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCoveredText()">
<h3>getCoveredText</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">getCoveredText</span>()</div>
</section>
</li>
<li>
<section class="detail" id="toStringPennTreebank()">
<h3>toStringPennTreebank</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">toStringPennTreebank</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves a String representation using Penn Treebank-style formatting.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toString()">
<h3>toString</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">toString</span>()</div>
<div class="block">Represents this <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> in a human-readable way.</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getText()">
<h3>getText</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">getText</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the text of the sentence over which this parse was formed.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSpan()">
<h3>getSpan</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../util/Span.html" title="class in opennlp.tools.util">Span</a></span>&nbsp;<span class="element-name">getSpan</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the <a href="../util/Span.html" title="class in opennlp.tools.util"><code>character offsets</code></a> for this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProb()">
<h3>getProb</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">getProb</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the <code>log</code> of the product of the probability associated with all the
decisions which formed this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addProb(double)">
<h3>addProb</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">addProb</span><wbr><span class="parameters">(double&nbsp;logProb)</span></div>
<div class="block">Adds the specified <code>logProb</code> to this current log for this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>logProb</code> - The probability of an action performed on this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChildren()">
<h3>getChildren</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</span>&nbsp;<span class="element-name">getChildren</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the <a href="Parse.html" title="class in opennlp.tools.parser"><code>child constituents</code></a> of this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setChild(int,java.lang.String)">
<h3>setChild</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setChild</span><wbr><span class="parameters">(int&nbsp;index,
<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>&nbsp;label)</span></div>
<div class="block">Replaces the child at the specified index with a new child with the specified label.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>index</code> - The index of the child to be replaced.</dd>
<dd><code>label</code> - The label to be assigned to the new child.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="add(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules)">
<h3>add</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">add</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;daughter,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</span></div>
</section>
</li>
<li>
<section class="detail" id="remove(int)">
<h3>remove</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">remove</span><wbr><span class="parameters">(int&nbsp;index)</span></div>
</section>
</li>
<li>
<section class="detail" id="adjoinRoot(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules,int)">
<h3>adjoinRoot</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">adjoinRoot</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules,
int&nbsp;parseIndex)</span></div>
</section>
</li>
<li>
<section class="detail" id="adjoin(opennlp.tools.parser.Parse,opennlp.tools.parser.HeadRules)">
<h3>adjoin</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">adjoin</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;sister,
<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</span></div>
<div class="block">Sister adjoins this node's last child and the specified sister node and returns their
new parent node. The new parent node replace this node's last child.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>sister</code> - The <a href="Parse.html" title="class in opennlp.tools.parser"><code>node</code></a> to be adjoined.</dd>
<dd><code>rules</code> - The <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> for the parser.</dd>
<dt>Returns:</dt>
<dd>The new <a href="Parse.html" title="class in opennlp.tools.parser"><code>parent node</code></a> of this node and the specified sister node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="expandTopNode(opennlp.tools.parser.Parse)">
<h3>expandTopNode</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">expandTopNode</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;root)</span></div>
</section>
</li>
<li>
<section class="detail" id="getChildCount()">
<h3>getChildCount</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getChildCount</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the number of children for this parse node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="indexOf(opennlp.tools.parser.Parse)">
<h3>indexOf</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">indexOf</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;child)</span></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>child</code> - A child of this parse.</dd>
<dt>Returns:</dt>
<dd>Retrieves the index of this specified child or <code>-1</code>
if the specified child is not a child of this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHead()">
<h3>getHead</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">getHead</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the head constituent associated with this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHeadIndex()">
<h3>getHeadIndex</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getHeadIndex</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the index within a sentence of the head token for this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getLabel()">
<h3>getLabel</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><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></span>&nbsp;<span class="element-name">getLabel</span>()</div>
<div class="block">Retrieves the label assigned to this parse node during parsing
which specifies how this node will be formed into a constituent.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The outcome label assigned to this node during parsing.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setLabel(java.lang.String)">
<h3>setLabel</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setLabel</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;label)</span></div>
<div class="block">Assigns this parse the specified label. This is used by parsing schemes to
tag parsing nodes while building.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>label</code> - A label indicating something about the stage of building for this parse node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="updateHeads(opennlp.tools.parser.HeadRules)">
<h3>updateHeads</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">updateHeads</span><wbr><span class="parameters">(<a href="HeadRules.html" title="interface in opennlp.tools.parser">HeadRules</a>&nbsp;rules)</span></div>
<div class="block">Computes the head parses for this parse and its sub-parses and stores this information
in the parse data structure.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>rules</code> - The <a href="HeadRules.html" title="interface in opennlp.tools.parser"><code>HeadRules</code></a> which determine how the head of the parse is computed.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="updateSpan()">
<h3>updateSpan</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">updateSpan</span>()</div>
</section>
</li>
<li>
<section class="detail" id="pruneParse(opennlp.tools.parser.Parse)">
<h3>pruneParse</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">pruneParse</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parse)</span></div>
<div class="block">Prune the specified sentence parse of vacuous productions.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>parse</code> - The sentence <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="fixPossesives(opennlp.tools.parser.Parse)">
<h3>fixPossesives</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">fixPossesives</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parse)</span></div>
</section>
</li>
<li>
<section class="detail" id="parseParse(java.lang.String)">
<h3>parseParse</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">parseParse</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;parse)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>parse</code> - A tree-bank style <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> string.</dd>
<dt>Returns:</dt>
<dd>A <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> structure for the specified tree-bank style parse string.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="parseParse(java.lang.String,opennlp.tools.parser.GapLabeler)">
<h3>parseParse</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">parseParse</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;parse,
<a href="GapLabeler.html" title="interface in opennlp.tools.parser">GapLabeler</a>&nbsp;gl)</span></div>
<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>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>parse</code> - A tree-bank style <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> string.</dd>
<dd><code>gl</code> - The <a href="GapLabeler.html" title="interface in opennlp.tools.parser"><code>GapLabeler</code></a> to be used.</dd>
<dt>Returns:</dt>
<dd>A <a href="Parse.html" title="class in opennlp.tools.parser"><code>Parse</code></a> structure for the specified tree-bank style parse string.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getParent()">
<h3>getParent</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">getParent</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the parent parse node of this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setParent(opennlp.tools.parser.Parse)">
<h3>setParent</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setParent</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;parent)</span></div>
<div class="block">Specifies the parent parse node for this constituent.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>parent</code> - The parent parse node for this constituent.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isPosTag()">
<h3>isPosTag</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isPosTag</span>()</div>
<div class="block">Indicates whether this parse node is a pos-tag.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if this node is a pos-tag, <code>false</code> otherwise.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isFlat()">
<h3>isFlat</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isFlat</span>()</div>
<div class="block">Indicates whether this parse node contains no sub-constituents.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if this constituent contains no sub-constituents; <code>false</code> otherwise.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isChunk(boolean)">
<h3>isChunk</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">isChunk</span><wbr><span class="parameters">(boolean&nbsp;ic)</span></div>
</section>
</li>
<li>
<section class="detail" id="isChunk()">
<h3>isChunk</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isChunk</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getTagNodes()">
<h3>getTagNodes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</span>&nbsp;<span class="element-name">getTagNodes</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the parse nodes which are children of this node and which are pos tags.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTokenNodes()">
<h3>getTokenNodes</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]</span>&nbsp;<span class="element-name">getTokenNodes</span>()</div>
</section>
</li>
<li>
<section class="detail" id="getCommonParent(opennlp.tools.parser.Parse)">
<h3>getCommonParent</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="Parse.html" title="class in opennlp.tools.parser">Parse</a></span>&nbsp;<span class="element-name">getCommonParent</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;node)</span></div>
<div class="block">Returns the deepest shared parent of this node and the specified node.
If the nodes are identical then their parent is returned.
If one node is the parent of the other than the parent node is returned.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>node</code> - The node from which parents are compared to this node's parents.</dd>
<dt>Returns:</dt>
<dd>the deepest shared parent of this node and the specified node.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="equals(java.lang.Object)">
<h3>equals</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">equals</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;obj)</span></div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="hashCode()">
<h3>hashCode</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">hashCode</span>()</div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="compareTo(opennlp.tools.parser.Parse)">
<h3>compareTo</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">compareTo</span><wbr><span class="parameters">(<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&nbsp;p)</span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html#compareTo(T)" title="class or interface in java.lang" class="external-link">compareTo</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>&gt;</code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDerivation()">
<h3>getDerivation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a></span>&nbsp;<span class="element-name">getDerivation</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>Retrieves the derivation string for this parse or <code>null</code>
if no derivation string has been created.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDerivation(java.lang.StringBuffer)">
<h3>setDerivation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setDerivation</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/StringBuffer.html" title="class or interface in java.lang" class="external-link">StringBuffer</a>&nbsp;derivation)</span></div>
<div class="block">Specifies the derivation string to be associated with this parse.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>derivation</code> - The derivation string to be associated with this parse.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="showCodeTree()">
<h3>showCodeTree</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">showCodeTree</span>()</div>
<div class="block">Prints to standard out a representation of the specified parse which
contains hash codes so that parent/child relationships can be explicitly seen.</div>
</section>
</li>
<li>
<section class="detail" id="addNames(java.lang.String,opennlp.tools.util.Span[],opennlp.tools.parser.Parse[])">
<h3>addNames</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">addNames</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;tag,
<a href="../util/Span.html" title="class in opennlp.tools.util">Span</a>[]&nbsp;names,
<a href="Parse.html" title="class in opennlp.tools.parser">Parse</a>[]&nbsp;tokens)</span></div>
<div class="block">Utility method to insert named entities.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>tag</code> - A token representing a tag.</dd>
<dd><code>names</code> - An array of <a href="../util/Span.html" title="class in opennlp.tools.util"><code>names</code></a>.</dd>
<dd><code>tokens</code> - An array of <a href="Parse.html" title="class in opennlp.tools.parser"><code>tokens</code></a>.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>