ExtractedFeatures class
Structured output of the feature extraction pipeline.
Constructors
-
ExtractedFeatures({required List<
String> entities, required List<String> actions, required List<String> attributes, required List<String> spatialRelations, required List<String> temporalMarkers, required List<String> emotionalCues, required List<String> causalCues, required List<String> quantifiers, required List<String> negations, required bool questions}) -
const
Properties
-
actions
→ List<
String> -
Action verbs detected.
final
-
allTokens
→ List<
String> -
All extracted tokens merged.
no setter
-
attributes
→ List<
String> -
Descriptive attributes (adjectives).
final
-
causalCues
→ List<
String> -
Causal connectives and cue words.
final
-
emotionalCues
→ List<
String> -
Words carrying emotional weight.
final
-
entities
→ List<
String> -
Named entities (nouns, subjects, objects).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
negations
→ List<
String> -
Negation words.
final
-
quantifiers
→ List<
String> -
Quantifiers and numerics.
final
- questions → bool
-
Whether the input appears to be a question.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spatialRelations
→ List<
String> -
Spatial relationship words.
final
-
temporalMarkers
→ List<
String> -
Temporal markers.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toProperties(
) → Map< String, dynamic> - Converts features to a property map for Concept.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited