Skip to content

4.5.9 #1486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Mar 24, 2025
Merged

4.5.9 #1486

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0be6b7f
Whitespace
AngledLuffa Feb 12, 2025
4f15b08
Add a couple more demonyms from the LinES and ParTUT treebanks
AngledLuffa Dec 31, 2024
298df01
Turn isLink final
AngledLuffa Feb 13, 2025
81290ba
Whitespace in Semgrex
AngledLuffa Feb 13, 2025
7399e9b
Add the capacity to negate attributes in a node, rather than requirin…
AngledLuffa Feb 19, 2025
f16b16e
Simplify - remove duplicate CoNLLUTagUpdater script (only difference …
AngledLuffa Feb 25, 2025
d1e483d
Update a comment on the -updateMorphoFeatures ability of Ssurgeon Edi…
AngledLuffa Feb 26, 2025
d2895ee
Add a tiny bit of doc
AngledLuffa Feb 26, 2025
4bdd5fd
This is a Map, not a List
AngledLuffa Feb 26, 2025
bff3588
When creating a NodePattern from NodeAttributes in Semgrex, pass arou…
AngledLuffa Feb 26, 2025
0de1865
Refactor checking matches for Attributes. Also, functionality change…
AngledLuffa Feb 27, 2025
dcee001
Small semgrex doc fix
AngledLuffa Feb 27, 2025
499eb5b
Move the Ssurgeon reindex operations from AddDep to SsurgeonUtils
AngledLuffa Mar 5, 2025
156fad1
Add to Ssurgeon a ReindexGraph operation which recounts the indices o…
AngledLuffa Mar 5, 2025
8e7d121
Add functionality to Ssurgeon that allows for removing a field (such …
AngledLuffa Mar 6, 2025
3a89d67
Verify that two more keywords used in Ssurgeon don't conflict with An…
AngledLuffa Mar 6, 2025
84ac932
Add a node containment option to semgrex that works on CoreAnnotation…
AngledLuffa Feb 26, 2025
ff1d903
Add a negative containment to semgrex to match the containment option
AngledLuffa Feb 27, 2025
3c30b3b
Rewrite the contains syntax to look a bit more like a map.
AngledLuffa Mar 6, 2025
dd511c4
Remove CoreNLP naturalli/demo, now archived in CoreNLP-research
AngledLuffa Mar 8, 2025
821b8fd
Add documentation for some of the features recently added to Semgrex …
AngledLuffa Mar 9, 2025
b5719a2
Allow negative constraints that match an existing positive constraint…
AngledLuffa Mar 21, 2025
346259c
Fix a buggy test for broken semgrex contains features
AngledLuffa Mar 21, 2025
bf3af40
Remove the functionality to allow any user specified deserializer - i…
AngledLuffa Mar 22, 2025
94739c7
Added lemmas to tsv even without verbose output format option
churow Mar 17, 2025
cabc020
Update readmes etc for a version 4.5.9 release
AngledLuffa Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava.options.encoding = 'UTF-8'

version = '4.5.8'
version = '4.5.9'

// Gradle application plugin
mainClassName = "edu.stanford.nlp.pipeline.StanfordCoreNLP"
Expand Down
42 changes: 0 additions & 42 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -537,48 +537,6 @@
</war>
</target>

<target name="openie.war" depends="compile,jar"
description="build the openie webapp">
<war destfile="openie.war"
webxml="${source.path}/edu/stanford/nlp/naturalli/demo/web.xml">
<lib dir=".">
<include name="javanlp-core.jar"/>
</lib>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/pos-tagger/distrib/english-left3words-distsim.tagger"/>
<zipfileset prefix="WEB-INF/data"
file="${source.path}/edu/stanford/nlp/time/rules/*"/>
<zipfileset prefix="WEB-INF/data"
file="${source.path}/edu/stanford/nlp/time/holidays/*"/>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/ner/goodClassifiers/english.all.3class.distsim.crf.ser.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/ner/goodClassifiers/english.conll.4class.distsim.crf.ser.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/ner/goodClassifiers/english.muc.7class.distsim.crf.ser.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/depparser/nn/distrib/english_SD.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/u/nlp/data/lexparser/englishPCFG.ser.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/clauseSplitterModel.ser.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/pp.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/obj.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/privative.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/subj_obj_pp.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/subj_pp_obj.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/subj_pp_pp.tab.gz"/>
<zipfileset prefix="WEB-INF/data"
file="/home/gabor/workspace/naturalli/etc/subj_pp.tab.gz"/>
</war>
</target>

<target name="parser.war" depends="compile,jar"
description="build the parser webapp">
<buildjsp webapp.path="edu/stanford/nlp/parser/webapp"
Expand Down
3 changes: 3 additions & 0 deletions doc/corenlp/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ LICENSE
CHANGES
---------------------------------

2025-03-23 4.5.9 Additional Semgrex / SSurgeon features and a
security patch recommended for deserialization

2024-12-11 4.5.8 Update paths to reflect an internal file
server dying. Add brat demo files to distrib
to reduce dependencies on nlp.stanford.edu.
Expand Down
8 changes: 4 additions & 4 deletions doc/corenlp/pom-full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<packaging>jar</packaging>
<name>Stanford CoreNLP</name>
<description>Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.</description>
Expand All @@ -14,8 +14,8 @@
</license>
</licenses>
<scm>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</connection>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</connection>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -208,7 +208,7 @@
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/stanford-corenlp-4.5.8-models.jar</file>
<file>${project.basedir}/stanford-corenlp-4.5.9-models.jar</file>
<type>jar</type>
<classifier>models</classifier>
</artifact>
Expand Down
8 changes: 4 additions & 4 deletions doc/corenlp/pom-light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<packaging>jar</packaging>
<name>Stanford CoreNLP</name>
<description>Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.</description>
Expand All @@ -14,8 +14,8 @@
</license>
</licenses>
<scm>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</connection>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</connection>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -56,7 +56,7 @@
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/stanford-corenlp-4.5.8-models.jar</file>
<file>${project.basedir}/stanford-corenlp-4.5.9-models.jar</file>
<type>jar</type>
<classifier>models</classifier>
</artifact>
Expand Down
22 changes: 11 additions & 11 deletions examples/sample-maven-project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,66 +17,66 @@
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-arabic</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-chinese</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-english</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-english-kbp</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-french</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-german</classifier>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<classifier>models-spanish</classifier>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions pom-java-11.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<packaging>jar</packaging>
<name>Stanford CoreNLP</name>
<description>Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.</description>
Expand All @@ -14,8 +14,8 @@
</license>
</licenses>
<scm>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</connection>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</connection>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -206,7 +206,7 @@
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/stanford-corenlp-4.5.8-models.jar</file>
<file>${project.basedir}/stanford-corenlp-4.5.9-models.jar</file>
<type>jar</type>
<classifier>models</classifier>
</artifact>
Expand Down
8 changes: 4 additions & 4 deletions pom-java-17.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<packaging>jar</packaging>
<name>Stanford CoreNLP</name>
<description>Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.</description>
Expand All @@ -14,8 +14,8 @@
</license>
</licenses>
<scm>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</connection>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</connection>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -206,7 +206,7 @@
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/stanford-corenlp-4.5.8-models.jar</file>
<file>${project.basedir}/stanford-corenlp-4.5.9-models.jar</file>
<type>jar</type>
<classifier>models</classifier>
</artifact>
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>4.5.8</version>
<version>4.5.9</version>
<packaging>jar</packaging>
<name>Stanford CoreNLP</name>
<description>Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases and word dependencies, and indicate which noun phrases refer to the same entities. It provides the foundational building blocks for higher level text understanding applications.</description>
Expand All @@ -14,8 +14,8 @@
</license>
</licenses>
<scm>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip</connection>
<url>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</url>
<connection>https://nlp.stanford.edu/software/stanford-corenlp-4.5.9.zip</connection>
</scm>
<developers>
<developer>
Expand Down Expand Up @@ -208,7 +208,7 @@
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/stanford-corenlp-4.5.8-models.jar</file>
<file>${project.basedir}/stanford-corenlp-4.5.9-models.jar</file>
<type>jar</type>
<classifier>models</classifier>
</artifact>
Expand Down
2 changes: 1 addition & 1 deletion src/edu/stanford/nlp/ling/CoreAnnotations.java
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ public Class<HashMap<String,String>> getType() {
}

/**
* CoNLL-U dep parsing - List of morphological features
* CoNLL-U dep parsing - Map of morphological features
*/
public static class CoNLLUFeats implements CoreAnnotation<CoNLLUFeatures> {
@Override
Expand Down
Loading