This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch feat/OPENNLP-1935-regex-guard
in repository https://gitbox.apache.org/repos/asf/opennlp.git
omit 33f013bd8 OPENNLP-1935: Allow the user-supplied tokenizer pattern and
head-rule tags
omit f80870a95 OPENNLP-1935: Name the StringUtil helpers in the forbidden
list message
omit fc1f554ae OPENNLP-1935: Share one non-empty split loop in StringUtil
omit ea325b12c OPENNLP-1935: Forbid java.util.regex in production code with
forbiddenapis
add 84a1d6268 GH-1460: Match escaped tags in the bundled Spanish head
rules (#1461)
add e286928a1 GH-1458: Parse name-finder tags and parse-tree strings
without regular expressions (#1459)
add 396934d08 OPENNLP-1935: Forbid java.util.regex in production code with
forbiddenapis
add 1b4a256dd OPENNLP-1935: Share one non-empty split loop in StringUtil
add 39d64c8cb OPENNLP-1935: Name the StringUtil helpers in the forbidden
list message
add af2de3483 OPENNLP-1935: Allow the user-supplied tokenizer pattern and
head-rule tags
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 (33f013bd8)
\
N -- N -- N refs/heads/feat/OPENNLP-1935-regex-guard (af2de3483)
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:
.../java/opennlp/tools/namefind/NameSample.java | 50 +++++-
.../src/main/java/opennlp/tools/parser/Parse.java | 109 +++++++++----
.../main/java/opennlp/tools/util/StringUtil.java | 16 ++
.../java/opennlp/tools/util/StringUtilTest.java | 26 ++-
.../opennlp/tools/namefind/NameSampleTest.java | 67 ++++++++
.../test/java/opennlp/tools/parser/ParseTest.java | 181 +++++++++++++++++++++
.../lang/es/AncoraSpanishHeadRulesBundledTest.java | 147 +++++++++++++++++
.../resources/opennlp/tools/parser/es_head_rules | 22 +++
opennlp-eval-tests/lang/es/parser/es-head-rules | 24 +--
opennlp-tools/lang/es/parser/es-head-rules | 24 +--
rat-excludes | 1 +
11 files changed, 607 insertions(+), 60 deletions(-)
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/parser/lang/es/AncoraSpanishHeadRulesBundledTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/resources/opennlp/tools/parser/es_head_rules