Skip to content

Commit 79c4e3f

Browse files
authored
Merge pull request #1148 from stanfordnlp/ud_enhancer
Ud enhancer
2 parents 94d2c9b + 1548bba commit 79c4e3f

File tree

4 files changed

+1218
-17
lines changed

4 files changed

+1218
-17
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ message TokensRegexRequest {
666666
// The result will be a nested structure:
667667
// repeated PatternMatch, one for each pattern
668668
// each PatternMatch has a repeated Match,
669-
// which tells you which sentence matched and where
669+
// which tells you which sentence matched and where
670670
message TokensRegexResponse {
671671
message MatchLocation {
672672
optional string text = 1;
@@ -686,3 +686,15 @@ message TokensRegexResponse {
686686

687687
repeated PatternMatch match = 1;
688688
}
689+
690+
// A protobuf which allows to pass in a document with basic
691+
// dependencies to be converted to enhanced
692+
message DependencyEnhancerRequest {
693+
required Document document = 1;
694+
695+
oneof ref {
696+
Language language = 2;
697+
// The expected value of this is a regex which matches relative pronouns
698+
string relativePronouns = 3;
699+
}
700+
}

0 commit comments

Comments
 (0)