Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v4.5.10 - Remove Patterns / Lucene and add Semgrex / Ssurgeon features

Latest

Choose a tag to compare

@AngledLuffaAngledLuffa released this 07 Jun 20:00

Remove Patterns

  • Older versions of Lucene have a security issue: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

  • :: uniq operator 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
  • Ssurgeon SplitWord now allows for exact word splitting, not just regex based splitting
  • Ssurgeon MergeNodes can now merge multiple nodes at once, not just two
  • add Ssurgeon SetPhraseHead operation to make a connected phrase in a dependency graph have a different head, possibly updating the relations between the children as well. Useful for changing the head of a proper noun phrase, for example

Hopefully minor interface changes

  • We move VariableStrings fromtrees/tregex andsemgraph/semgrex intoutil. It turns out there were two copies of this code in the codebase. This may ruin serialized tregex outputs, if such a thing exists.
Assets2
Loading
gchudnov and jee24 reacted with thumbs up emojigchudnov reacted with hooray emojigchudnov reacted with rocket emoji
2 people reacted

[8]ページ先頭

©2009-2025 Movatter.jp