Clamp CoreNLP to v3.X.X
CoreNLP 4.x changed model format incompatible with models currently used
for DeReKo
Change-Id: Ie17b98a4cfcbc3c0891d7a9c708c6fb5f473903f
diff --git a/app/build.gradle b/app/build.gradle
index 167a68b..0dac698 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -46,7 +46,13 @@
implementation 'com.github.kupietz:cistern:v1.0.4'
implementation 'org.maltparser:maltparser:1.9.2'
implementation 'org.apache.opennlp:opennlp-tools:2.5.7'
- implementation 'edu.stanford.nlp:stanford-corenlp:3.9.2'
+ implementation('edu.stanford.nlp:stanford-corenlp') {
+ version {
+ strictly '[3.0.0, 4.0.0)'
+ prefer '3.9.2'
+ }
+ because 'CoreNLP 4.x changed model format incompatible with models currently used for DeReKo'
+ }
implementation 'org.slf4j:slf4j-simple:2.0.17'
implementation 'org.apache.ant:ant:1.10.15'
implementation 'org.apache.commons:commons-compress:1.28.0'