diff --git a/build.gradle b/build.gradle index 72a09d6..36d67b7 100644 --- a/build.gradle +++ b/build.gradle @@ -29,16 +29,23 @@ dependencies { implementation group: 'org.apache.groovy', name: 'groovy-xml', version: groovyVersion implementation group: 'info.picocli', name: 'picocli', version: '4.7.0' - implementation group: 'ch.qos.logback', name:'logback-classic', version:'1.4.5' + implementation group: 'ch.qos.logback', name:'logback-classic', version:'1.4.+' - implementation("org.languagetool:language-uk:$ltUkVersion") { + implementation("org.languagetool:language-uk:$ltDevVersion") { exclude module: 'hunspell' exclude module: 'language-detector' exclude module: 'lucene-core' exclude group: 'org.apache.lucene' exclude group: 'io.grpc' } - implementation ("org.languagetool:language-ru:$ltVersion") { + implementation ("org.languagetool:language-ru:$ltBaseVersion") { + exclude module: 'hunspell' + exclude module: 'language-detector' + exclude module: 'lucene-core' + exclude group: 'org.apache.lucene' + exclude group: 'io.grpc' + } + implementation("org.languagetool:language-en:$ltBaseVersion") { exclude module: 'hunspell' exclude module: 'language-detector' exclude module: 'lucene-core' diff --git a/gradle.properties b/gradle.properties index 3c5908e..4abde94 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,6 @@ -ltVersion=6.3 -ltUkVersion=6.3 -#ltUkVersion=6.2-SNAPSHOT +ltBaseVersion=6.4 +ltDevVersion=6.4 #morfologik_ukrainian_lt_version=6.1.5 -groovyVersion=4.0.15 +groovyVersion=4.0.20 # nlp_uk version -version=3.2.3 +version=3.3.2-SNAPSHOT diff --git a/src/main/groovy/ua/net/nlp/other/CleanText.groovy b/src/main/groovy/ua/net/nlp/other/CleanText.groovy index 8fe4b96..d533ffe 100755 --- a/src/main/groovy/ua/net/nlp/other/CleanText.groovy +++ b/src/main/groovy/ua/net/nlp/other/CleanText.groovy @@ -24,9 +24,10 @@ package ua.net.nlp.other // mark/rate or remove Russian paragraphs @GrabConfig(systemClassLoader=true) -@Grab(group='org.languagetool', module='languagetool-core', version='6.3') -@Grab(group='org.languagetool', module='language-uk', version='6.3') -@Grab(group='org.languagetool', module='language-ru', version='6.3') +@Grab(group='org.languagetool', module='languagetool-core', version='6.4') +@Grab(group='org.languagetool', module='language-uk', version='6.4') +@Grab(group='org.languagetool', module='language-ru', version='6.4') +@Grab(group='org.languagetool', module='language-en', version='6.4') @Grab(group='ch.qos.logback', module='logback-classic', version='1.4.+') @Grab(group='info.picocli', module='picocli', version='4.6.+') diff --git a/src/main/groovy/ua/net/nlp/tools/TagText.groovy b/src/main/groovy/ua/net/nlp/tools/TagText.groovy index e2ac340..6aec6ed 100755 --- a/src/main/groovy/ua/net/nlp/tools/TagText.groovy +++ b/src/main/groovy/ua/net/nlp/tools/TagText.groovy @@ -3,10 +3,10 @@ package ua.net.nlp.tools @GrabConfig(systemClassLoader=true) -@Grab(group='org.languagetool', module='languagetool-core', version='6.3') -@Grab(group='org.languagetool', module='language-uk', version='6.3') -@Grab(group='org.languagetool', module='language-ru', version='6.3') -//@Grab(group='ua.net.nlp', module='morfologik-ukrainian-lt', version='6.1.5') +@Grab(group='org.languagetool', module='languagetool-core', version='6.4') +@Grab(group='org.languagetool', module='language-uk', version='6.4') +@Grab(group='org.languagetool', module='language-ru', version='6.4') +//@Grab(group='ua.net.nlp', module='morfologik-ukrainian-lt', version='6.3.1-SNAPSHOT') @Grab(group='ch.qos.logback', module='logback-classic', version='1.4.+') @Grab(group='info.picocli', module='picocli', version='4.6.+')