Class TextSelectionEntity
This lets the labeler highlight text, by specifying an offset and a length, and apply labels to it.
Inherited Members
Namespace: Oci.DatalabelingservicedataplaneService.Models
Assembly: OCI.DotNetSDK.Datalabelingservicedataplane.dll
Syntax
public class TextSelectionEntity : Entity
Properties
ExtendedMetadata
Declaration
[JsonProperty(PropertyName = "extendedMetadata")]
public Dictionary<string, string> ExtendedMetadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For Example: {"bar-key": "value"} |
Labels
Declaration
[Required(ErrorMessage = "Labels is required.")]
[JsonProperty(PropertyName = "labels")]
public List<Label> Labels { get; set; }
Property Value
Type | Description |
---|---|
List<Label> | A collection of label entities. |
Remarks
Required
TextSpan
Declaration
[Required(ErrorMessage = "TextSpan is required.")]
[JsonProperty(PropertyName = "textSpan")]
public TextSpan TextSpan { get; set; }
Property Value
Type | Description |
---|---|
TextSpan |
Remarks
Required