| class info |
| com.huawei.hms.mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory |
| Creates an instance of the language detection configurator. |
| Constructor name |
| Factory() Creates a factory instance of the language detector configurator. |
| Return type | Method name |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting | create() |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory | setTrustedThreshold(float trustedThreshold) |
| Method |
| public Factory() |
| Creates a factory instance of the language detector configurator. |
| Method |
| public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting create() |
| Creates a language detector instance. |
Return
| Type | desc |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting | Language detector instance. |
| Method |
| public mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory setTrustedThreshold(float trustedThreshold) |
| Sets the confidence for language detection. |
Parameters
| Parameter name | Parameter desc |
| trustedThreshold | Confidence of language detection. |
Return
| Type | desc |
| mlsdk.langdetect.cloud.MLRemoteLangDetectorSetting.Factory | Instance of the language detection configurator. |