We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66d4bb commit 2bfd39eCopy full SHA for 2bfd39e
src/edu/stanford/nlp/semgraph/semgrex/ProcessSemgrexRequest.java
@@ -53,6 +53,11 @@ public static CoreNLPProtos.SemgrexResponse.SemgrexResult matchSentence(SemgrexP
53
return semgrexResultBuilder.build();
54
}
55
56
+ /**
57
+ * For a single request, iterate through the SemanticGraphs it
58
+ * includes, and add the results of each Semgrex operation included
59
+ * in the request.
60
+ */
61
public static CoreNLPProtos.SemgrexResponse processRequest(CoreNLPProtos.SemgrexRequest request) {
62
ProtobufAnnotationSerializer serializer = new ProtobufAnnotationSerializer();
63
CoreNLPProtos.SemgrexResponse.Builder responseBuilder = CoreNLPProtos.SemgrexResponse.newBuilder();
0 commit comments