Author: schor
Date: Tue Jul 17 14:41:03 2018
New Revision: 1836119
URL: http://svn.apache.org/viewvc?rev=1836119&view=rev
Log:
[UIMA-5831]
Modified:
uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml
Modified:
uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml
URL:
http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml?rev=1836119&r1=1836118&r2=1836119&view=diff
==============================================================================
---
uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml
(original)
+++
uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml
Tue Jul 17 14:41:03 2018
@@ -638,34 +638,41 @@ startAt(begin, end, shifted) // same as
<title>Following or Preceding</title>
<para>For an Annotation Index, you can specify all Feature Structures
following or preceding a position.
- The position can be specified either as a Feature Structure, or
+ The position can be specified either as a Feature Structure, or by
specifying an annotation begin index and
+ an optional offset. Note that the positioning arguments differ from the
<code>startAt</code> specification,
+ which uses both begin and end values.
by using begin and end values.
- The arguments are identical to those of the <code>startAt</code>
specification, but are interpreted
- differently.
</para>
<variablelist>
<varlistentry>
<term><emphasis role="strong">following</emphasis></term>
<listitem>
- <para>Position the iterator according to the argument, get that
Annotation's <code>end</code>
- value, and then move the iterator forwards until
- the Annotation at that position has its begin value >= to the
saved end value.
+ <para>Position the iterator according to the argument,
+ and then move the iterator forwards until
+ the Annotation at that position has its begin value >= to the
positioning annotation's end value.
+ </para>
+ <para>If the position is specified as an int, move the iterator
forwards until
+ the Annotation at that position has its begin value >= the
specified int.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis role="strong">preceding</emphasis></term>
<listitem>
- <para>Position the iterator according to the argument, save that
Annotation's <code>begin</code> value,
+ <para>Position the iterator according to the argument,
and then move it backwards until
- the Annotation's (at that position) <code>end</code> value is
<= to the saved <code>begin</code>value.
+ the Annotation's (at that position) <code>end</code> value is
<= to
+ the positioning Annotation's <code>begin</code>value.
</para>
+ <para>If the position is specified as an int, treat this as the
begin value.</para>
+
</listitem>
</varlistentry>
</variablelist>
- <para>The <code>preceding</code> iteration skips annotations whose
<code>end</code> values are > the saved <code>begin</code>.</para>
+ <para>The <code>preceding</code> iteration skips over annotations whose
<code>end</code> values are >
+ the positioning annotation's begin value, or the positioning int's
value.</para>
</section>
</section>