EntityMention class

An entity mention in the document.

Constructors

EntityMention({Feature? certaintyAssessment, double? confidence, List<LinkedEntity>? linkedEntities, String? mentionId, Feature? subject, Feature? temporalAssessment, TextSpan? text, String? type})
EntityMention.fromJson(Map json_)

Properties

certaintyAssessment Feature?
The certainty assessment of the entity mention.
getter/setter pair
confidence double?
The model's confidence in this entity mention annotation.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
linkedEntities List<LinkedEntity>?
linked_entities are candidate ontological concepts that this entity mention may refer to.
getter/setter pair
mentionId String?
mention_id uniquely identifies each entity mention in a single response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject Feature?
The subject this entity mention relates to.
getter/setter pair
temporalAssessment Feature?
How this entity mention relates to the subject temporally.
getter/setter pair
text TextSpan?
text is the location of the entity mention in the document.
getter/setter pair
type String?
The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE, ANATOMICAL_STRUCTURE, ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE, BODY_FUNCTION, BODY_MEASUREMENT, COMPLIANT, DOESNOT_FOLLOWUP, FAMILY, FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT, LAB_VALUE, MEDICAL_DEVICE, MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY, MED_ROUTE, MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT, OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD, REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited