Class HierarchicalEntity
Hierarchical entity object
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class HierarchicalEntity
Properties
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 for detected entity. |
SubType
Declaration
[JsonProperty(PropertyName = "subType")]
public string SubType { get; set; }
Property Value
Type | Description |
---|---|
string | Sub-type of entity text like GPE for LOCATION type |
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. |