v4.5.10 - Remove Patterns / Lucene and add Semgrex / Ssurgeon features
Remove Patterns
- Older versions of Lucene have a security issue: https://github.com/advisories/GHSA-g643-xq6w-r67c Unfortunately, Lucene V9.12 is not compatible with Java 8. We therefore want to remove Lucene from this release
- The one project using it in CoreNLP is the patterns directory. We remove this, perhaps temporarily. If you are making use of the patterns project, please file an issue and we will include it in a future Java 11 compatible release. (We are aware of at least one group which used that project, back in 2020)
Semgrex and Ssurgeon upgrades
:: uniqoperator at the end of a Semgrex expression allows for making results uniq across a set of node values<>search in Semgrex means connected either as parent or child. Simplifies expressions where the direction of the connection doesn't matter- Ssurgeon EditNode now supports -removemorphofeatures to remove one or more features without removing all features