Skip to main content

Module entity_classifier

Module entity_classifier 

Source
Expand description

Entity type classification for knowledge graph nodes.

Uses rule-based heuristics (pattern matching, suffix detection, numeric checks) plus user-defined classification rules to assign entity types and confidence scores.

Structs§

ClassificationFeature
A single named feature with a numeric value, used to explain classification.
ClassificationResult
The result of classifying a single entity text string.
ClassificationRule
A user-defined rule: if pattern is found in the entity text (case-insensitive), score entity_type with an additional confidence_boost.
EntityClassifier
Entity classifier using heuristic rules and optional user-defined rules.

Enums§

EntityType
The set of recognised entity types.