Class Entity
entity object
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class Entity
Properties
IsPii
Declaration
[JsonProperty(PropertyName = "isPii")]
public bool? IsPii { get; set; }
Property Value
Type | Description |
---|---|
bool? | This flag is to indicate if it is PII entity or not. |
Length
Declaration
[JsonProperty(PropertyName = "length")]
public int? Length { get; set; }
Property Value
Type | Description |
---|---|
int? | Length of entity text |
Offset
Declaration
[JsonProperty(PropertyName = "offset")]
public int? Offset { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of Unicode code points preceding this entity in the submitted text. |
Score
Declaration
[JsonProperty(PropertyName = "score")]
public double Score { get; set; }
Property Value
Type | Description |
---|---|
double | Score or confidence of extracted entity type. Example: 0.9999856066867399 |
Text
Declaration
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | Entity text like name of person, location, and so on. |
Type
Declaration
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Type of entity text like PER, LOC, GPE and NOPE. |