pub fn default_classifier(key: &str) -> RhetoricalCategoryExpand description
Default template-key classifier used by GroupingStrategy::ByAction.
Looks at the last dotted segment of the key and maps well-known action
names to RhetoricalCategory:
deleted,removed→RhetoricalCategory::Removaladded,created,introduced→RhetoricalCategory::Additionmodified,updated,renamed,moved,signature_changed→RhetoricalCategory::Modification- anything else →
RhetoricalCategory::Other
Use DocumentPlan::from_events_classified to supply a custom
classifier when the defaults don’t fit the domain.