| class info |
| com.huawei.hms.mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory |
| 创建语种检测器的配置器的实例。 |
| Constructor name |
| Factory() 创建语种检测器的配置器的工厂实例。 |
| Return type | Method name |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting | create() |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory | setTrustedThreshold(float trustedThreshold) |
| Method |
| public Factory() |
| 创建语种检测器的配置器的工厂实例。 |
| Method |
| public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting create() |
| 创建语种检测器实例。 |
Return
| Type | desc |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting | 语种检测器实例。 |
| Method |
| public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory setTrustedThreshold(float trustedThreshold) |
| 设置语种检测的置信度。 |
Parameters
| Parameter name | Parameter desc |
| trustedThreshold | 语种检测的置信度。 |
Return
| Type | desc |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory | 语种检测配置器实例。 |