Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/stanfordnlp/CoreNLP into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
J38 committed Jan 11, 2022
2 parents 647339a + 829f464 commit 76666dd
Show file tree
Hide file tree
Showing 15 changed files with 4,699 additions and 446 deletions.
2 changes: 1 addition & 1 deletion .classpath
Expand Up @@ -23,7 +23,7 @@
<classpathentry exported="true" kind="lib" path="log4j-api-2.15.0.jar"/>
<classpathentry exported="true" kind="lib" path="log4j-jcl-2.15.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-lang3-3.1.jar" sourcepath="libsrc/commons-lang3-3.1-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/protobuf-java-3.11.4.jar" sourcepath="libsrc/protobuf-java-3.11.4-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/protobuf-java-3.19.2.jar" sourcepath="libsrc/protobuf-java-3.19.2-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javacc.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax.json.jar" sourcepath="libsrc/javax.json-api-1.0-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/lucene-core-7.5.0.jar" sourcepath="libsrc/lucene-core-7.5.0-sources.jar"/>
Expand Down
10 changes: 5 additions & 5 deletions lib/README
Expand Up @@ -22,7 +22,7 @@ can have version numbers in the name. Example: colt1.0.3.jar.
If you're adding a new .jar to the repository, please:
- make sure the jar isn't already somewhere in the repository.
If it is, try to converge on one version and promote placement to
more if it is used in multiple projects
core if it is used in both core and research
- add the jar itself to the lib directory (with or without version number)
- add its source zip with version number to the libsrc directory
- check to make sure that the jar file doesn't have other libraries
Expand All @@ -33,7 +33,7 @@ If you're adding a new .jar to the repository, please:
to its source -- this is essential to keep things working for
Eclipse/IntelliJ users!
- also update this file with information about the jar
- If it will be needed by releases of CoreNLP, also add it to the *2* pom files.
- If it will be needed by releases of CoreNLP, also add it to the *3* pom files.
- If it will be needed by releases of CoreNLP, also document the
licensing in LIBRARY-LICENSES.

Expand Down Expand Up @@ -399,13 +399,13 @@ LAST UPDATE BY: Spence Green
-----------------------------------------------------------------
protobuf.jar
ORIGINAL JAR NAME: <compiled from source>
VERSION: 3.11.4
RELEASE DATE: Oct 2020
VERSION: 3.19.2
RELEASE DATE: Jan 2022
SOURCE AVAILABLE: yes
DESCRIPTION: Google's protocol buffer library
URL: https://developers.google.com/protocol-buffers/
USED BY: CoreMapProtos (and associated serializers)
LAST UPDATE: 2021-04-06
LAST UPDATE: 2022-01-10
LAST UPDATE BY: John Bauer

----------------------------------------------------------------
Expand Down
Binary file removed lib/protobuf-java-3.11.4.jar
Binary file not shown.
Binary file added lib/protobuf-java-3.19.2.jar
Binary file not shown.
Binary file removed libsrc/protobuf-java-3.11.4-sources.jar
Binary file not shown.
Binary file added libsrc/protobuf-java-3.19.2-sources.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion pom-java-11.xml
Expand Up @@ -126,7 +126,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.11.4</version>
<version>3.19.2</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom-java-17.xml
Expand Up @@ -126,7 +126,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.11.4</version>
<version>3.19.2</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -128,7 +128,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>3.11.4</version>
<version>3.19.2</version>
</dependency>

<dependency>
Expand Down
16 changes: 16 additions & 0 deletions src/edu/stanford/nlp/pipeline/CoreNLP.proto
Expand Up @@ -731,3 +731,19 @@ message EvaluateParserResponse {
required double f1 = 1;
optional double kbestF1 = 2;
}


// A protobuf for running Tsurgeon operations on constituency trees
message TsurgeonRequest {
message Operation {
required string tregex = 1;
repeated string tsurgeon = 2;
}
repeated Operation operations = 1;
repeated FlattenedParseTree trees = 2;
}

// The results of the Tsurgeon operation
message TsurgeonResponse {
repeated FlattenedParseTree trees = 1;
}

0 comments on commit 76666dd

Please sign in to comment.