This is an automated email from the ASF dual-hosted git repository.
krickert pushed a change to branch OPENNLP-1888-DocumentShape
in repository https://gitbox.apache.org/repos/asf/opennlp.git
discard 4cd9bebab OPENNLP-1888: Create toolkit layer keys through
namespace-applying factories on Layers
discard 8a02d15ea OPENNLP-1888: Document the gold-layer convention
discard 9d4218cd9 OPENNLP-1888: State the index-reference invariants in the
specification text
discard de294a2a3 OPENNLP-1888: Declare per-key positional or document scope
discard c4d6b92c8 OPENNLP-1888: Namespace the standard layer key ids
discard ecb71b2a2 OPENNLP-1888: Manual chapter, review-convention pass, and
key placement rule
discard 489d37623 OPENNLP-1888: Add StringUtil.isBlank following the toolkit
whitespace definition
discard a5ce12fb2 OPENNLP-1888: Lemmatize per sentence, validate adapter
outputs, clear adaptive data on failure
discard cb50c8287 OPENNLP-1888: Parse per sentence in the adapters,
distinguish empty from missing layers, validate providers at build time
discard 936d87ff9 OPENNLP-1888: Pipeline example and contract tests for the
document container, javadoc precision pass
discard 03f1e83b2 OPENNLP-1888: Lemma and stem layer adapters
discard 35ee60d8a OPENNLP-1888: Document annotation container: typed
offset-anchored layers over the original text
add ef0a354cf OPENNLP-1883: Make stemmers thread-safe, add StemmerFactory
and per-thread stem caching (#1163)
add 55eaaaaf6 Bump actions/checkout from 7.0.0 to 7.0.1 (#1189)
add 6076c74bd OPENNLP-1888: Document annotation container: typed
offset-anchored layers over the original text
add 7c211eafb OPENNLP-1888: Lemma and stem layer adapters
add 6192017bb OPENNLP-1888: Pipeline example and contract tests for the
document container, javadoc precision pass
add f78676d19 OPENNLP-1888: Parse per sentence in the adapters,
distinguish empty from missing layers, validate providers at build time
add fe7d06d96 OPENNLP-1888: Lemmatize per sentence, validate adapter
outputs, clear adaptive data on failure
add 2a2553d6b OPENNLP-1888: Add StringUtil.isBlank following the toolkit
whitespace definition
add f7af70bca OPENNLP-1888: Manual chapter, review-convention pass, and
key placement rule
add 47b693e0a OPENNLP-1888: Namespace the standard layer key ids
add 0c44492af OPENNLP-1888: Declare per-key positional or document scope
add 8cc427de1 OPENNLP-1888: State the index-reference invariants in the
specification text
add 25373fd65 OPENNLP-1888: Document the gold-layer convention
add efaf71c59 OPENNLP-1888: Create toolkit layer keys through
namespace-applying factories on Layers
add e017205ff OPENNLP-1888: Javadoc container overrides and cite the
pipeline example test
add 7e65aad4d OPENNLP-1888: Anchor the Document thread-safety note to
immutability
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (4cd9bebab)
\
N -- N -- N refs/heads/OPENNLP-1888-DocumentShape (7e65aad4d)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/allowlist-check.yml | 2 +-
.github/workflows/license.yml | 2 +-
.github/workflows/maven.yml | 8 +-
.github/workflows/publish-snapshots.yml | 2 +-
.../main/java/opennlp/tools/document/Document.java | 2 +-
.../opennlp/tools/document/ImmutableDocument.java | 4 +
.../main/java/opennlp/tools/document/LayerKey.java | 3 +
.../tools/document/NameFinderAnnotator.java | 2 +
.../opennlp/tools/document/POSTaggerAnnotator.java | 2 +
.../tools/document/SentenceDetectorAnnotator.java | 1 +
.../opennlp/tools/document/TokenizerAnnotator.java | 1 +
.../main/java/opennlp/tools/stemmer/Stemmer.java | 25 +-
.../stemmer/{Stemmer.java => StemmerFactory.java} | 13 +-
opennlp-core/opennlp-runtime/BENCHMARKS.md | 84 ++++-
.../tools/stemmer/CachingStemmerBenchmark.java | 199 +++++++++++
.../snowball/SnowballStemmerBenchmark.java} | 106 +++---
.../java/opennlp/tools/stemmer/CachingStemmer.java | 152 +++++++++
.../opennlp/tools/stemmer/DelegatingStemmer.java | 70 ++++
.../java/opennlp/tools/stemmer/PorterStemmer.java | 7 +
.../PorterStemmerFactory.java} | 16 +-
.../java/opennlp/tools/stemmer/SharingStemmer.java | 67 ++++
.../tools/stemmer/snowball/SnowballStemmer.java | 135 +++++---
.../stemmer/snowball/SnowballStemmerFactory.java | 109 ++++++
.../util/normalizer/NormalizationProfile.java | 23 +-
.../tools/util/normalizer/TermAnalyzer.java | 43 ++-
.../opennlp/tools/stemmer/CachingStemmerTest.java | 139 ++++++++
.../opennlp/tools/stemmer/StemmerFactoryTest.java | 376 +++++++++++++++++++++
.../stemmer/StemmerFactoryUsageExampleTest.java | 62 ++++
.../util/normalizer/NormalizationProfilesTest.java | 23 ++
.../tools/util/normalizer/TermAnalyzerTest.java | 28 +-
opennlp-docs/src/docbkx/document.xml | 4 +
opennlp-docs/src/docbkx/opennlp.xml | 1 +
opennlp-docs/src/docbkx/stemmer.xml | 72 ++++
.../tools/eval/MultiThreadedStemmerEval.java | 175 ++++++++++
34 files changed, 1807 insertions(+), 151 deletions(-)
copy opennlp-api/src/main/java/opennlp/tools/stemmer/{Stemmer.java =>
StemmerFactory.java} (68%)
create mode 100644
opennlp-core/opennlp-runtime/src/jmh/java/opennlp/tools/stemmer/CachingStemmerBenchmark.java
copy
opennlp-core/opennlp-runtime/src/jmh/java/opennlp/tools/{tokenize/TokenizerMEBenchmark.java
=> stemmer/snowball/SnowballStemmerBenchmark.java} (54%)
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/stemmer/CachingStemmer.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/stemmer/DelegatingStemmer.java
copy
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/{util/jvm/NoOpStringInterner.java
=> stemmer/PorterStemmerFactory.java} (70%)
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/stemmer/SharingStemmer.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/stemmer/snowball/SnowballStemmerFactory.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/stemmer/CachingStemmerTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/stemmer/StemmerFactoryTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/stemmer/StemmerFactoryUsageExampleTest.java
create mode 100644 opennlp-docs/src/docbkx/stemmer.xml
create mode 100644
opennlp-eval-tests/src/test/java/opennlp/tools/eval/MultiThreadedStemmerEval.java