Class KeyPhrase.Builder

  • Enclosing class:
    KeyPhrase

    public static class KeyPhrase.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • text

        public KeyPhrase.Builder text​(String text)
        Key phrase exreacted from given text.
        Parameters:
        text - the value to set
        Returns:
        this builder
      • score

        public KeyPhrase.Builder score​(Double score)
        Score or confidence of the key phrase.

        Example: 0.9999856066867399

        Parameters:
        score - the value to set
        Returns:
        this builder