Class TextClassificationDocumentResult
The document response for test classification detect call.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class TextClassificationDocumentResult
Properties
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | Document unique identifier defined by the user. |
Remarks
Required
LanguageCode
Declaration
[Required(ErrorMessage = "LanguageCode is required.")]
[JsonProperty(PropertyName = "languageCode")]
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string | Language code supported
|
Remarks
Required
TextClassification
Declaration
[Required(ErrorMessage = "TextClassification is required.")]
[JsonProperty(PropertyName = "textClassification")]
public List<TextClassification> TextClassification { get; set; }
Property Value
Type | Description |
---|---|
List<TextClassification> | List of detected text classes. |
Remarks
Required