This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp.git


The following commit(s) were added to refs/heads/main by this push:
     new 050922919 GH-1466: Describe current behaviour instead of 3.0 changes 
in the user manual (#1467)
050922919 is described below

commit 05092291972a7b6094ad730ae45849af72c696ad
Author: Richard Zowalla <[email protected]>
AuthorDate: Sun Oct 11 18:30:35 2026 +0200

    GH-1466: Describe current behaviour instead of 3.0 changes in the user 
manual (#1467)
---
 opennlp-docs/src/docbkx/corpora.xml          | 9 +++------
 opennlp-docs/src/docbkx/machine-learning.xml | 3 +--
 opennlp-docs/src/docbkx/model-loading.xml    | 6 ++----
 opennlp-docs/src/docbkx/parser.xml           | 2 +-
 4 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/opennlp-docs/src/docbkx/corpora.xml 
b/opennlp-docs/src/docbkx/corpora.xml
index ce69efc0a..d18271344 100644
--- a/opennlp-docs/src/docbkx/corpora.xml
+++ b/opennlp-docs/src/docbkx/corpora.xml
@@ -400,11 +400,9 @@ Execution time: 1,955 seconds]]>
                <para>
                The reader interprets the format as follows. A multiword token 
line has a range id such
                as <code>3-4</code>; the range must be two runs of ASCII digits 
without a leading zero, joined by
-               a single hyphen, and its end must not be smaller than its 
start. Since 3.0.0 an id that does not
+               a single hyphen, and its end must not be smaller than its 
start. An id that does not
                follow this form, such as <code>3-</code>, <code>-4</code>, 
<code>3--4</code>, <code>1-2-3</code>, or
                <code>4-3</code>, stops the read with an 
<code>InvalidFormatException</code> that names the id.
-               Earlier releases failed with an 
<code>ArrayIndexOutOfBoundsException</code> or a
-               <code>NumberFormatException</code> on the first three shapes 
and read the last two without an error.
                The language of a sentence is taken from <code>text_xx</code> 
and
                <code>text_xxx</code> comment keys, where the code consists of 
two or three lowercase ASCII letters;
                when three letters follow, all three form the code.
@@ -416,7 +414,7 @@ Execution time: 1,955 seconds]]>
                <para>
                        Each id in a CoNLL-U multiword token range must have 
its corresponding word line
                        in the same sentence. For example, a range 
<code>1-3</code> requires lines
-                       <code>1</code>, <code>2</code>, and <code>3</code>. 
Since 3.0.0, a missing word
+                       <code>1</code>, <code>2</code>, and <code>3</code>. A 
missing word
                        line stops reading with 
<code>InvalidFormatException</code> naming the range
                        and missing id. Correct the input before resuming 
conversion or training;
                        missing words are not fabricated.
@@ -494,8 +492,7 @@ Execution time: 1,955 seconds]]>
                <para>
                        An opening <code>&lt;s&gt;</code> tag with no following 
content at end of file
                        ends the stream without producing a sample. A sentence 
with content but without
-                       its closing <code>&lt;/s&gt;</code> is returned from 
the lines read so far. Since
-                       3.0.0, the empty open sentence no longer causes an 
endless read.
+                       its closing <code>&lt;/s&gt;</code> is returned from 
the lines read so far.
                </para>
        </section>
        <section xml:id="tools.corpora.arvores-deitadas.leaf-tags">
diff --git a/opennlp-docs/src/docbkx/machine-learning.xml 
b/opennlp-docs/src/docbkx/machine-learning.xml
index 06688b47f..96733f229 100644
--- a/opennlp-docs/src/docbkx/machine-learning.xml
+++ b/opennlp-docs/src/docbkx/machine-learning.xml
@@ -125,8 +125,7 @@ under the License.
                is a context, optionally followed by <code>=</code> and its 
value after the last
                <code>=</code>. Space, tab, carriage return, line feed and form 
feed separate fields; other
                characters, including no-break spaces, stay inside feature 
names. A line with only an
-               outcome is an event without contexts, and a blank line is an 
error. Since 3.0, an
-               outcome-only line no longer ends a 
<code>RealBasicEventStream</code>. For example:
+               outcome is an event without contexts, and a blank line is an 
error. For example:
                <screen>
 <![CDATA[other wc=ic=1.0 w&c=he,ic=2.0 n1wc=lc=3.0
 org-start wc=ic=1.0 w&c=apache,ic=2.0 p1wc=lc=3.0]]>
diff --git a/opennlp-docs/src/docbkx/model-loading.xml 
b/opennlp-docs/src/docbkx/model-loading.xml
index dcadd72c0..8a0bceb14 100644
--- a/opennlp-docs/src/docbkx/model-loading.xml
+++ b/opennlp-docs/src/docbkx/model-loading.xml
@@ -175,10 +175,8 @@ for(ClassPathModelEntry entry : models) {
       <code>ClassgraphModelFinder</code> uses ClassGraph's own wildcard rules.
     </para>
     <para>
-      Since 3.0, custom subclasses of 
<code>AbstractClassPathModelFinder</code> call
-      <code>matchesWildcard(url, "*.bin")</code>. The protected 
<code>asRegex</code> and
-      <code>matchesPattern</code> methods were removed, so subclasses that 
used them must be
-      updated and recompiled.
+      Custom subclasses of <code>AbstractClassPathModelFinder</code> match 
model file names with
+      <code>matchesWildcard(url, "*.bin")</code>.
     </para>
   </section>
 
diff --git a/opennlp-docs/src/docbkx/parser.xml 
b/opennlp-docs/src/docbkx/parser.xml
index c4bdacece..c4b48fe0d 100644
--- a/opennlp-docs/src/docbkx/parser.xml
+++ b/opennlp-docs/src/docbkx/parser.xml
@@ -75,7 +75,7 @@ under the License.
                        Before a line is tokenized, the tool separates round 
and curly brackets from the
                        text around them, because the parser expects each 
bracket as a token of its own.
                        A bracket that is already surrounded by whitespace is 
left as it is, so no doubled
-                       spaces are introduced. Since 3.0.0 brackets that 
directly follow each other are each
+                       spaces are introduced. Brackets that directly follow 
each other are each
                        separated: <code>a))b</code> becomes <code>a ) ) 
b</code> and
                        <code>foo(bar){baz}</code> becomes <code>foo ( bar ) { 
baz }</code>. Whether a
                        character counts as whitespace follows the toolkit 
whitespace mode, see

Reply via email to