commit | 33294d9332f8e11f10d6de8b5d461c3a01fd74de | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Thu Feb 23 18:14:16 2023 +0000 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Mar 02 11:33:56 2023 +0100 |
tree | 1b14c1bf190afa29593de7e9bd6ab208976c5004 | |
parent | eed234f61e0bd0f672f0156b8b6759128c917f2d [diff] |
Bump opennlp-tools from 1.9.4 to 2.1.1 Bumps [opennlp-tools](https://github.com/apache/opennlp) from 1.9.4 to 2.1.1. - [Release notes](https://github.com/apache/opennlp/releases) - [Commits](https://github.com/apache/opennlp/compare/opennlp-1.9.4...opennlp-2.1.1) Resolves #74 --- updated-dependencies: - dependency-name: org.apache.opennlp:opennlp-tools dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Change-Id: I6881d2657fbd1c76822fed8e3ee3bebdd7587b0f
diff --git a/pom.xml b/pom.xml index 7119e63..a9d68f2 100644 --- a/pom.xml +++ b/pom.xml
@@ -258,7 +258,7 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> - <version>1.9.4</version> + <version>2.1.1</version> </dependency> <dependency> <groupId>junit</groupId>
diff --git a/src/main/jpc/jflex/de/ids_mannheim/korap/tokenizer/DerekoDfaTokenizer.jflex b/src/main/jpc/jflex/de/ids_mannheim/korap/tokenizer/DerekoDfaTokenizer.jflex index c3abeb6..5579b30 100644 --- a/src/main/jpc/jflex/de/ids_mannheim/korap/tokenizer/DerekoDfaTokenizer.jflex +++ b/src/main/jpc/jflex/de/ids_mannheim/korap/tokenizer/DerekoDfaTokenizer.jflex
@@ -253,6 +253,16 @@ return sentences.toArray(new Span[0]); } + @Override + public String[] sentDetect(CharSequence s) { + return sentDetect(s.toString()); + } + + @Override + public Span[] sentPosDetect(CharSequence s) { + return sentPosDetect(s.toString()); + } + public final long yychar() { return yychar; }