You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2019/03/29 18:04:56 UTC
svn commit: r1856564 -
/uima/uv3/uimaj-v3/trunk/uima-docbook-v3-users-guide/src/docbook/uv3.select.xml
Author: schor
Date: Fri Mar 29 18:04:56 2019
New Revision: 1856564
URL: http://svn.apache.org/viewvc?rev=1856564&view=rev
Log:
no Jira - add a hint on how to avoid equal testing in select iterators
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=1856564&r1=1856563&r2=1856564&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 Fri Mar 29 18:04:56 2019
@@ -447,8 +447,7 @@ startAt(begin, end, shifted) // same as
possible; these are described in the next section.</para>
<para>The returned Annotations exclude the one(s) which are <code>equal</code> to the bounding FS.
- There are several
- variations of how this <code>equal</code> test is done, discussed in the next section.</para>
+ There are several variations of how this <code>equal</code> test is done, discussed in the next section.</para>
<variablelist>
<varlistentry>
@@ -544,6 +543,7 @@ startAt(begin, end, shifted) // same as
</para>
</listitem>
</varlistentry>
+
<varlistentry>
<term><emphasis role="strong">includeAnnotationsWithEndBeyondBounds</emphasis></term>
<listitem>
@@ -555,13 +555,19 @@ startAt(begin, end, shifted) // same as
</para>
</listitem>
</varlistentry>
+
<varlistentry>
<term><emphasis role="strong">skipSameBeginEndType</emphasis></term>
<listitem>
<para>While doing bounded iteration, if the Annotation being returned is identical (has the same
- _id()) with the bounding Annotation, it is always skipped. But other annotations, which might
- have the same begin, end, and type values, are included by default.</para>
-
+ _id()) with the bounding Annotation, it is always skipped. (Note: if you do not want this,
+ just make a temporary annotation with the begin/end/type you want, and don't add it to the index;
+ it will never be found while iterating.)
+ </para>
+ <para>
+ Other annotations, which might
+ have the same begin, end, and type values, are not skipped, but instead, included, by default.</para>
+
<para>
When this configuration is specified, any Annotation which has the same begin, end, and type is also skipped.
</para>