目录

class info
com.huawei.hms.mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory
Creates an instance of the language detection configurator.

Public Constructor Summary

Constructor name
Factory()
Creates a factory instance of the language detector configurator.

Public Method Summary

Return typeMethod name
mlsdk.langdetect.cloud.MLRemoteLangDetectorSettingcreate()
mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.FactorysetTrustedThreshold(float trustedThreshold)

Public Constructors

Method
public Factory()
Creates a factory instance of the language detector configurator.

Public Methods

Method
public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting create()
Creates a language detector instance.

Return

Typedesc
mlsdk.langdetect.cloud.MLRemoteLangDetectorSettingLanguage detector instance.
Method
public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory setTrustedThreshold(float trustedThreshold)
Sets the confidence for language detection.

Parameters

Parameter nameParameter desc
trustedThresholdConfidence of language detection.


Return

Typedesc
mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.FactoryInstance of the language detection configurator.