Skip to content

#1602 - Upgrade dependencies - #1661

Merged
reckart merged 1 commit into
mainfrom
refactoring/1602-Upgrade-dependencies
Nov 17, 2026
Merged

reckart merged 1 commit into
mainfrom
refactoring/1602-Upgrade-dependencies

Conversation

@reckart

@reckart reckart commented Nov 17, 2026

Copy link
Copy Markdown
Member

What's in the PR

  • Fix dead model download URLs without changing model versions: OpenNLP 1.5 and Aelius models now come from the SourceForge downloads area, MaltParser models via https, GATE resources from the GATE 9.x plugin jars on Maven Central
  • Download CoreNLP models from Hugging Face, pinned to the commits of tag v4.6.0, and upgrade the English, German and French dependency parser models to the CoreNLP 4.6.0 versions
  • Package the CoreNLP 4.6.0 German and French UD POS taggers and the default English POS tagger, via wrapper targets that set the stanfordnlp output package
  • Drop the English WSJ dependency parser models, which are no longer available upstream, and the unused Spanish model download
  • Version model artifacts by the earliest known date of the identical file and complete the model history comments as far as traceable; fix wrong history entries in the OpenNLP and TreeTagger scripts
  • Add UD v2 dependency and POS tagset mappings (ud2) and a PTB tagset mapping with English Web Treebank extensions (ptb-ewt); turn the ptb-emory POS mapping into a redirect to ptb-ewt
  • Map dependency relation subtypes (e.g. nsubj:pass) using their own mapping if available, otherwise falling back to the base relation
  • Make PTB3 escaping in the CoreNLP components model-driven: CoreNLP 4.x models declare ptb3Escaping=false models keep escaping bydefault; disable escaping in CoreNlpLemmatizer by default
  • Make CoreNlpParser produce Universal Dependencies by default and select the matching dependency tagset (English ud2, Chineseuniversal, Stanford Dependencies stanford341)
  • Warn when the POS tags in tagset expected by aCoreNLP parser model
  • Change the default CoreNLnglish to left3words-distsim and for German and French to ud to match the respective dependency parser models
  • Update tests to the new m for passive relations, escaping resolution, lemmathe tagset compatibility check
  • corenlp-model-depparser-e06.0
  • corenlp-model-depparser-e06.0
  • corenlp-model-depparser-de-ud 20161213.1 -> 20241017.0
  • corenlp-model-depparser-f20.0
  • stanfordnlp-model-tagger-en-left3words-distsim 2018

How to test manually

  • No specific test procedure

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

- Fix dead model download URLs without changing model versions: OpenNLP 1.5 and Aelius models now come from the SourceForge downloads area, MaltParser models via https, GATE resources from the GATE 9.x plugin jars on Maven Central
- Download CoreNLP models from Hugging Face, pinned to the commits of tag v4.6.0, and upgrade the English, German and French dependency parser models to the CoreNLP 4.6.0 versions
- Package the CoreNLP 4.6.0 German and French UD POS taggers and the default English POS tagger, via wrapper targets that set the stanfordnlp output package
- Drop the English WSJ dependency parser models, which are no longer available upstream, and the unused Spanish model download
- Version model artifacts by the earliest known date of the identical file and complete the model history comments as far as traceable; fix wrong history entries in the OpenNLP and TreeTagger scripts
- Add UD v2 dependency and POS tagset mappings (ud2) and a PTB tagset mapping with English Web Treebank extensions (ptb-ewt); turn the ptb-emory POS mapping into a redirect to ptb-ewt
- Map dependency relation subtypes (e.g. nsubj:pass) using their own mapping if available, otherwise falling back to the base relation
- Make PTB3 escaping in the CoreNLP components model-driven: CoreNLP 4.x models declare ptb3Escaping=false models keep escaping bydefault; disable escaping in CoreNlpLemmatizer by default
- Make CoreNlpParser produce Universal Dependencies by default and select the matching dependency tagset  (English ud2, Chineseuniversal, Stanford Dependencies stanford341)
- Warn when the POS tags in tagset expected by aCoreNLP parser model
- Change the default CoreNLnglish to left3words-distsim and for German and French to ud to match the respective dependency parser
models
- Update tests to the new m for passive relations,
escaping resolution, lemmathe tagset compatibility
check
- corenlp-model-depparser-e06.0
- corenlp-model-depparser-e06.0
- corenlp-model-depparser-de-ud 20161213.1 -> 20241017.0
- corenlp-model-depparser-f20.0
- stanfordnlp-model-tagger-en-left3words-distsim 2018
@reckart reckart self-assigned this Nov 17, 2026
@reckart reckart added this to the 3.0.0 milestone Nov 17, 2026
@reckart reckart added this to Kanban Nov 17, 2026
@github-project-automation github-project-automation Bot moved this to In progress in Kanban Nov 17, 2026
@reckart
reckart merged commit 29cbc8f into main Nov 17, 2026
5 of 7 checks passed
@reckart
reckart deleted the refactoring/1602-Upgrade-dependencies branch November 17, 2026 20:16
@github-project-automation github-project-automation Bot moved this from In progress to Done in Kanban Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant