Interface CoreNLPProtos.SemgrexRequest.DependenciesOrBuilder

    • Method Detail

      • getToken

        CoreNLPProtos.Token getToken​(int index)
        repeated .edu.stanford.nlp.pipeline.Token token = 1;
      • getTokenCount

        int getTokenCount()
        repeated .edu.stanford.nlp.pipeline.Token token = 1;
      • hasGraph

        boolean hasGraph()
         The basic dependency graph.  Semgrex matching starts here
         unless the pattern names the graph it searches
         
        required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;
        Returns:
        Whether the graph field is set.
      • getGraph

        CoreNLPProtos.DependencyGraph getGraph()
         The basic dependency graph.  Semgrex matching starts here
         unless the pattern names the graph it searches
         
        required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;
        Returns:
        The graph.
      • getGraphOrBuilder

        CoreNLPProtos.DependencyGraphOrBuilder getGraphOrBuilder()
         The basic dependency graph.  Semgrex matching starts here
         unless the pattern names the graph it searches
         
        required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;
      • hasEnhancedGraph

        boolean hasEnhancedGraph()
         The enhanced dependency graph, searched by relations written
         with @enhanced, such as >nsubj@enhanced.  Built over the same
         tokens as graph, including any empty nodes
         
        optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;
        Returns:
        Whether the enhancedGraph field is set.
      • getEnhancedGraph

        CoreNLPProtos.DependencyGraph getEnhancedGraph()
         The enhanced dependency graph, searched by relations written
         with @enhanced, such as >nsubj@enhanced.  Built over the same
         tokens as graph, including any empty nodes
         
        optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;
        Returns:
        The enhancedGraph.
      • getEnhancedGraphOrBuilder

        CoreNLPProtos.DependencyGraphOrBuilder getEnhancedGraphOrBuilder()
         The enhanced dependency graph, searched by relations written
         with @enhanced, such as >nsubj@enhanced.  Built over the same
         tokens as graph, including any empty nodes
         
        optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedGraph = 3;
      • hasSentenceID

        boolean hasSentenceID()
         The sent_id of the sentence, if it has one.  An error about the
         sentence names it by this, rather than by its place in the request
         
        optional string sentenceID = 4;
        Returns:
        Whether the sentenceID field is set.
      • getSentenceID

        String getSentenceID()
         The sent_id of the sentence, if it has one.  An error about the
         sentence names it by this, rather than by its place in the request
         
        optional string sentenceID = 4;
        Returns:
        The sentenceID.
      • getSentenceIDBytes

        com.google.protobuf.ByteString getSentenceIDBytes()
         The sent_id of the sentence, if it has one.  An error about the
         sentence names it by this, rather than by its place in the request
         
        optional string sentenceID = 4;
        Returns:
        The bytes for sentenceID.