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
omit 37fc533e6 OPENNLP-1888: Create toolkit layer keys through
namespace-applying factories on Layers
omit 48321ff0c OPENNLP-1888: Document the gold-layer convention
omit a657c00f2 OPENNLP-1888: State the index-reference invariants in the
specification text
omit 6c38c235c OPENNLP-1888: Declare per-key positional or document scope
omit 86f4bee27 OPENNLP-1888: Namespace the standard layer key ids
omit 378e664e4 OPENNLP-1888: Manual chapter, review-convention pass, and
key placement rule
omit 5a4bf5741 OPENNLP-1888: Add StringUtil.isBlank following the toolkit
whitespace definition
omit 6aaeeb3bd OPENNLP-1888: Lemmatize per sentence, validate adapter
outputs, clear adaptive data on failure
omit cd4c77506 OPENNLP-1888: Parse per sentence in the adapters,
distinguish empty from missing layers, validate providers at build time
omit 53a15bcb0 OPENNLP-1888: Pipeline example and contract tests for the
document container, javadoc precision pass
omit eec278db5 OPENNLP-1888: Lemma and stem layer adapters
omit 29149f4d4 OPENNLP-1888: Document annotation container: typed
offset-anchored layers over the original text
add 16b82540d Bump actions/setup-java from 5.5.0 to 5.6.0 (#1184)
add 2ae4146b9 OPENNLP-1875: Align whitespace handling with the Unicode
White_Space property (#1150)
add 0212090ee OPENNLP-1888: Document annotation container: typed
offset-anchored layers over the original text
add 7f7809878 OPENNLP-1888: Lemma and stem layer adapters
add 55799c79a OPENNLP-1888: Pipeline example and contract tests for the
document container, javadoc precision pass
add 433b00a35 OPENNLP-1888: Parse per sentence in the adapters,
distinguish empty from missing layers, validate providers at build time
add 12ec6d3ba OPENNLP-1888: Lemmatize per sentence, validate adapter
outputs, clear adaptive data on failure
add 890521486 OPENNLP-1888: Add StringUtil.isBlank following the toolkit
whitespace definition
add 5c2b64a4f OPENNLP-1888: Manual chapter, review-convention pass, and
key placement rule
add cbc853607 OPENNLP-1888: Namespace the standard layer key ids
add 1addc7352 OPENNLP-1888: Declare per-key positional or document scope
add c61375fa4 OPENNLP-1888: State the index-reference invariants in the
specification text
add 246df2d62 OPENNLP-1888: Document the gold-layer convention
add 7b51ed0a7 OPENNLP-1888: Create toolkit layer keys through
namespace-applying factories on Layers
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 (37fc533e6)
\
N -- N -- N refs/heads/OPENNLP-1888-DocumentShape (7b51ed0a7)
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/license.yml | 2 +-
.github/workflows/maven.yml | 8 +-
.github/workflows/publish-snapshots.yml | 2 +-
.../main/java/opennlp/tools/util/StringUtil.java | 173 +++++-
.../java/opennlp/tools/util/WhitespaceMode.java | 134 +++++
.../opennlp/tools/util/WhitespaceModeTest.java | 130 +++++
.../tools/cmdline/stopword/StopwordFilterTool.java | 5 +-
.../sentdetect/DefaultSDContextGenerator.java | 6 +-
.../tools/stopword/DictionaryStopwordFilter.java | 9 +-
.../tokenize/DefaultTokenContextGenerator.java | 6 +
.../SentenceDetectorMESpanMappingTest.java | 14 +
.../tokenize/DefaultTokenContextGeneratorTest.java | 80 +++
.../tools/tokenize/SimpleTokenizerTest.java | 46 ++
.../tools/tokenize/WhitespaceTokenizerTest.java | 46 ++
opennlp-docs/src/docbkx/introduction.xml | 50 ++
opennlp-docs/src/docbkx/tokenizer.xml | 5 +
.../opennlp/tools/eval/SourceForgeModelEval.java | 19 +
.../spellcheck/cmdline/CorrectTextTool.java | 6 +-
.../SpellCheckingCharSequenceNormalizer.java | 19 +-
.../java/opennlp/spellcheck/symspell/SymSpell.java | 9 +-
.../SpellCheckingCharSequenceNormalizerTest.java | 48 ++
.../spellcheck/symspell/SymSpellCompoundTest.java | 64 +++
.../java/opennlp/uima/normalizer/NumberUtil.java | 26 +-
.../opennlp/uima/normalizer/NumberUtilTest.java | 32 ++
.../java/opennlp/tools/util/StringUtilTest.java | 623 ++++++++++++++++++++-
25 files changed, 1505 insertions(+), 57 deletions(-)
create mode 100644
opennlp-api/src/main/java/opennlp/tools/util/WhitespaceMode.java
create mode 100644
opennlp-api/src/test/java/opennlp/tools/util/WhitespaceModeTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/tokenize/DefaultTokenContextGeneratorTest.java