FeatureExtractor class

Analyses raw text input and extracts structured linguistic features.

The extractor uses a lexicon-based approach with heuristic rules. For production use, this can be replaced with a full NLP pipeline.

Constructors

FeatureExtractor({ConsciousnessLogger? logger})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectEmotionalValence(List<String> emotionalCues) → EmotionalValence
Computes a simple emotional valence from detected cues.
estimateEmotionalIntensity(String input) → double
Estimates emotional intensity from the input text.
extract(String input) → ExtractedFeatures
Extracts features from a raw text input.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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