Interface BatchDetectSyntaxItemResult.Builder

    • Method Detail

      • index

        BatchDetectSyntaxItemResult.Builder index​(Integer index)

        The zero-based index of the document in the input list.

        Parameters:
        index - The zero-based index of the document in the input list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • syntaxTokens

        BatchDetectSyntaxItemResult.Builder syntaxTokens​(Collection<SyntaxToken> syntaxTokens)

        The syntax tokens for the words in the document, one token for each word.

        Parameters:
        syntaxTokens - The syntax tokens for the words in the document, one token for each word.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • syntaxTokens

        BatchDetectSyntaxItemResult.Builder syntaxTokens​(SyntaxToken... syntaxTokens)

        The syntax tokens for the words in the document, one token for each word.

        Parameters:
        syntaxTokens - The syntax tokens for the words in the document, one token for each word.
        Returns:
        Returns a reference to this object so that method calls can be chained together.