Skip to content

Commit

Permalink
chore: upgrade CoreNLP models 4.5.5 -> 4.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Jan 22, 2025
1 parent caebba6 commit bbbc11e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.icij.datashare.text.nlp.Pipeline;

public class CoreNlpModels extends AbstractModels<StanfordCoreNLP> {
static final String VERSION = "4.5.5";
static final String VERSION = "4.5.8";
public static final Set<Language> SUPPORTED_LANGUAGES = Set.of(
ENGLISH,
SPANISH,
Expand Down Expand Up @@ -68,7 +68,7 @@ private Path getModelFilePath(Language language) {
}

String getJarFileName(Language language) {
return String.join("-", asList("stanford", "corenlp", getVersion(), "models", language.iso6391Code() + ".jar"));
return String.join("-", asList("stanford", "corenlp", getVersion(), "models", language.name().toLowerCase() + ".jar"));
}

private CoreNlpModels() {
Expand Down

0 comments on commit bbbc11e

Please sign in to comment.