目录

class info
com.huawei.hms.mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory
创建语种检测器的配置器的实例。

Public Constructor Summary

Constructor name
Factory()
创建语种检测器的配置器的工厂实例。

Public Method Summary

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

Public Constructors

Method
public Factory()
创建语种检测器的配置器的工厂实例。

Public Methods

Method
public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting create()
创建语种检测器实例。

Return

Typedesc
mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting语种检测器实例。
Method
public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory setTrustedThreshold(float trustedThreshold)
设置语种检测的置信度。

Parameters

Parameter nameParameter desc
trustedThreshold语种检测的置信度。


Return

Typedesc
mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory语种检测配置器实例。