Skip to content

v4.5.9 - Security Updates and Semgrex / Ssurgeon features

Latest
Compare
Choose a tag to compare
@AngledLuffa AngledLuffa released this 07 Apr 15:04

Security updates

  • Removed the ability to specify an external library for deserialization of annotations in the server. We believe this should not be necessary given the complete nature of the protobuf format, and this was reported as a potential security vulnerability: https://github.com/stanfordnlp/CoreNLP/security/advisories/GHSA-wv35-hv9v-526p If it turns out someone has a use case for this feature, please file an issue on github.
  • Remove the naturalli demo, which is unsupported and likely not used anywhere given its Stanford-specific components

Semgrex / Ssurgeon features

  • Semgrex can now search on negated attributes of a node using !: as the syntax: 7399e9b
  • Semgrex can now search on maps (especially morphological features) with the :{feature:value} syntax, as well as search for negative matches with {feature!:value}: 84ac932 ff1d903 3c30b3b
  • Ssurgeon can now reindex nodes with ReindexGraph, such as in cases where a sentence was manually split in a conllu file: 156fad1
  • Ssurgeon can remove a feature with EditNode using the -remove option: 8e7d121

Other minor updates

  • Additional demonyms now supported in the lemmatizer, demonyms from LinES and ParTUT: 4f15b08
  • Output lemmas when training a tagger whenever available if -outputLemmas is set, even if not verbose 94739c7