Class KeyPhraseExtractionSkill


  • public final class KeyPhraseExtractionSkill
    extends SearchIndexerSkill
    A skill that uses text analytics for key phrase extraction.
    • Constructor Detail

      • KeyPhraseExtractionSkill

        public KeyPhraseExtractionSkill​(List<InputFieldMappingEntry> inputs,
                                        List<OutputFieldMappingEntry> outputs)
        Creates an instance of KeyPhraseExtractionSkill class.
        Parameters:
        inputs - the inputs value to set.
        outputs - the outputs value to set.
    • Method Detail

      • getDefaultLanguageCode

        public KeyPhraseExtractionSkillLanguage getDefaultLanguageCode()
        Get the defaultLanguageCode property: A value indicating which language code to use. Default is en.
        Returns:
        the defaultLanguageCode value.
      • setDefaultLanguageCode

        public KeyPhraseExtractionSkill setDefaultLanguageCode​(KeyPhraseExtractionSkillLanguage defaultLanguageCode)
        Set the defaultLanguageCode property: A value indicating which language code to use. Default is en.
        Parameters:
        defaultLanguageCode - the defaultLanguageCode value to set.
        Returns:
        the KeyPhraseExtractionSkill object itself.
      • getMaxKeyPhraseCount

        public Integer getMaxKeyPhraseCount()
        Get the maxKeyPhraseCount property: A number indicating how many key phrases to return. If absent, all identified key phrases will be returned.
        Returns:
        the maxKeyPhraseCount value.
      • setMaxKeyPhraseCount

        public KeyPhraseExtractionSkill setMaxKeyPhraseCount​(Integer maxKeyPhraseCount)
        Set the maxKeyPhraseCount property: A number indicating how many key phrases to return. If absent, all identified key phrases will be returned.
        Parameters:
        maxKeyPhraseCount - the maxKeyPhraseCount value to set.
        Returns:
        the KeyPhraseExtractionSkill object itself.
      • getModelVersion

        public String getModelVersion()
        Get the modelVersion property: The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.
        Returns:
        the modelVersion value.
      • setModelVersion

        public KeyPhraseExtractionSkill setModelVersion​(String modelVersion)
        Set the modelVersion property: The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.
        Parameters:
        modelVersion - the modelVersion value to set.
        Returns:
        the KeyPhraseExtractionSkill object itself.