diff --git a/build.gradle b/build.gradle index 019886c4fc..cfcbec276b 100644 --- a/build.gradle +++ b/build.gradle @@ -104,7 +104,7 @@ subprojects { // to avoid missing dependencies from the projects that include grobid-core (see 'jar' task in grobid-core) localLibs = ['crfpp-1.0.2.jar', 'langdetect-1.1-20120112.jar', - 'wipo-analysers-0.0.2.jar', + 'grobid-lucene-analysers-0.0.1.jar', 'imageio-pnm-1.0.jar', 'wapiti-1.5.0.jar'] } @@ -132,7 +132,7 @@ subprojects { implementation "com.cybozu.labs:langdetect:1.1-20120112" implementation "com.rockymadden.stringmetric:stringmetric-core_2.11:0.27.4" implementation "commons-pool:commons-pool:1.6" - implementation "commons-io:commons-io:2.5" + implementation "commons-io:commons-io:2.14.0" implementation "org.apache.commons:commons-lang3:3.6" implementation "org.apache.commons:commons-collections4:4.1" implementation 'org.apache.commons:commons-text:1.11.0' @@ -245,7 +245,7 @@ project("grobid-core") { api "xerces:xercesImpl:2.12.0" api "net.arnx:jsonic:1.3.10" api "net.sf.saxon:Saxon-HE:9.6.0-9" - api "xom:xom:1.3.2" + api "xom:xom:1.3.9" api 'javax.xml.bind:jaxb-api:2.3.0' implementation "joda-time:joda-time:2.9.9" diff --git a/grobid-core/localLibs/wipo-analysers-0.0.2.jar b/grobid-core/localLibs/grobid-lucene-analysers-0.0.1.jar similarity index 76% rename from grobid-core/localLibs/wipo-analysers-0.0.2.jar rename to grobid-core/localLibs/grobid-lucene-analysers-0.0.1.jar index d778d75a73..045b160025 100644 Binary files a/grobid-core/localLibs/wipo-analysers-0.0.2.jar and b/grobid-core/localLibs/grobid-lucene-analysers-0.0.1.jar differ diff --git a/grobid-core/src/main/java/org/grobid/core/analyzers/GrobidAnalyzer.java b/grobid-core/src/main/java/org/grobid/core/analyzers/GrobidAnalyzer.java index 550bb6c58f..e07b756cbc 100644 --- a/grobid-core/src/main/java/org/grobid/core/analyzers/GrobidAnalyzer.java +++ b/grobid-core/src/main/java/org/grobid/core/analyzers/GrobidAnalyzer.java @@ -5,8 +5,8 @@ import org.grobid.core.utilities.UnicodeUtil; import org.grobid.core.utilities.LayoutTokensUtil; -import org.wipo.nlp.textboundaries.ReTokenizer; -import org.wipo.nlp.textboundaries.ReTokenizerFactory; +import org.grobid.nlp.textboundaries.ReTokenizer; +import org.grobid.nlp.textboundaries.ReTokenizerFactory; import java.util.List; import java.util.ArrayList; diff --git a/grobid-core/src/main/java/org/grobid/core/engines/tagging/GenericTaggerUtils.java b/grobid-core/src/main/java/org/grobid/core/engines/tagging/GenericTaggerUtils.java index f9490e51e8..aedf05ab9f 100644 --- a/grobid-core/src/main/java/org/grobid/core/engines/tagging/GenericTaggerUtils.java +++ b/grobid-core/src/main/java/org/grobid/core/engines/tagging/GenericTaggerUtils.java @@ -6,7 +6,7 @@ import org.apache.commons.lang3.tuple.Pair; import org.grobid.core.engines.label.TaggingLabels; import org.grobid.core.utilities.Triple; -import org.wipo.analyzers.wipokr.utils.StringUtil; +import org.grobid.analyzers.grobidkr.utils.StringUtil; import java.util.ArrayList; import java.util.List;