Interface CoreNLPProtos.SemgrexResponse.MatchOrBuilder

    • Method Detail

      • hasMatchIndex

        boolean hasMatchIndex()
         the node the match starts at.  This can be a copy or empty node
         when the pattern starts in the enhanced graph
         
        required int32 matchIndex = 1;
        Returns:
        Whether the matchIndex field is set.
      • getMatchIndex

        int getMatchIndex()
         the node the match starts at.  This can be a copy or empty node
         when the pattern starts in the enhanced graph
         
        required int32 matchIndex = 1;
        Returns:
        The matchIndex.
      • hasMatchCopy

        boolean hasMatchCopy()
        optional uint32 matchCopy = 8;
        Returns:
        Whether the matchCopy field is set.
      • getMatchCopy

        int getMatchCopy()
        optional uint32 matchCopy = 8;
        Returns:
        The matchCopy.
      • hasMatchEmptyIndex

        boolean hasMatchEmptyIndex()
        optional uint32 matchEmptyIndex = 9;
        Returns:
        Whether the matchEmptyIndex field is set.
      • getMatchEmptyIndex

        int getMatchEmptyIndex()
        optional uint32 matchEmptyIndex = 9;
        Returns:
        The matchEmptyIndex.
      • getNodeCount

        int getNodeCount()
        repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
      • getRelnCount

        int getRelnCount()
        repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
      • getEdgeCount

        int getEdgeCount()
        repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
      • getVarstringCount

        int getVarstringCount()
        repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
      • hasSentenceIndex

        boolean hasSentenceIndex()
         which sentence this match applies to
         indexed from 0
         
        optional int32 sentenceIndex = 4;
        Returns:
        Whether the sentenceIndex field is set.
      • getSentenceIndex

        int getSentenceIndex()
         which sentence this match applies to
         indexed from 0
         
        optional int32 sentenceIndex = 4;
        Returns:
        The sentenceIndex.
      • hasSemgrexIndex

        boolean hasSemgrexIndex()
         index of the semgrex expression this match applies to
         indexed from 0
         
        optional int32 semgrexIndex = 5;
        Returns:
        Whether the semgrexIndex field is set.
      • getSemgrexIndex

        int getSemgrexIndex()
         index of the semgrex expression this match applies to
         indexed from 0
         
        optional int32 semgrexIndex = 5;
        Returns:
        The semgrexIndex.