Class InfoTypeConfig
Specifies how to use infoTypes for evaluation. For example, a user might only want to evaluate PERSON
,
LOCATION
, and AGE
.
Inheritance
InfoTypeConfig
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class InfoTypeConfig : IDirectResponseSchema
Properties
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
EvaluateList
Declaration
[JsonProperty("evaluateList")]
public virtual FilterList EvaluateList { get; set; }
Property Value
IgnoreList
Declaration
[JsonProperty("ignoreList")]
public virtual FilterList IgnoreList { get; set; }
Property Value
StrictMatching
If TRUE
, infoTypes described by filter
are used for evaluation. Otherwise, infoTypes are not considered
for evaluation. For example: * Annotated text: "Toronto is a location" * Finding 1: {"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7}
* Finding 2: {"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7}
* Finding 3: {}
* Ground truth: {"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7}
When strict_matching
is TRUE
: * Finding 1: 1 false positive * Finding 2: 1 false positive *
Finding 3: 1 false negative When strict_matching
is FALSE
: * Finding 1: 1 true positive * Finding 2: 1
true positive * Finding 3: 1 false negative
Declaration
[JsonProperty("strictMatching")]
public virtual bool? StrictMatching { get; set; }
Property Value
Implements