Skip to content

Commit 5c085f0

Browse files
committed
Fix a weird typo
1 parent 812317b commit 5c085f0

File tree

3 files changed

+49
-49
lines changed

3 files changed

+49
-49
lines changed

src/edu/stanford/nlp/pipeline/CoreNLP.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ message Mention {
374374
optional bool generic = 25;
375375
optional bool isSingleton = 26;
376376
optional bool hasBasicDependency = 27;
377-
optional bool hasEnhancedDepenedncy = 28;
377+
optional bool hasEnhancedDependency = 28;
378378
optional bool hasContextParseTree = 29;
379379
optional IndexedWord headIndexedWord = 30;
380380
optional IndexedWord dependingVerb = 31;

src/edu/stanford/nlp/pipeline/CoreNLPProtos.java

+46-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/edu/stanford/nlp/pipeline/ProtobufAnnotationSerializer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ public CoreNLPProtos.Mention toProto(Mention mention) {
10361036

10371037
// flag if this Mention should get basicDependency, collapsedDependency, and contextParseTree or not
10381038
builder.setHasBasicDependency((mention.basicDependency != null));
1039-
builder.setHasEnhancedDepenedncy((mention.enhancedDependency != null));
1039+
builder.setHasEnhancedDependency((mention.enhancedDependency != null));
10401040
builder.setHasContextParseTree((mention.contextParseTree != null));
10411041

10421042
// handle the sets of Mentions, just store mentionID
@@ -1988,7 +1988,7 @@ public Annotation fromProto(CoreNLPProtos.Document proto) {
19881988
if (protoMention.getHasBasicDependency()) {
19891989
mentionToUpdate.basicDependency = map.get(BasicDependenciesAnnotation.class);
19901990
}
1991-
if (protoMention.getHasEnhancedDepenedncy()) {
1991+
if (protoMention.getHasEnhancedDependency()) {
19921992
mentionToUpdate.enhancedDependency = map.get(EnhancedDependenciesAnnotation.class);
19931993
}
19941994
if (protoMention.getHasContextParseTree()) {

0 commit comments

Comments
 (0)