[−][src]Function aw_transform::classify::categorize
pub fn categorize(
events: Vec<Event>,
rules: &[(Vec<String>, Rule)]
) -> Vec<Event>
Categorizes a list of events
An event can only have one category, although the category may have a hierarchy, for instance: "Work -> ActivityWatch -> aw-server-rust" If multiple categories match, the deepest one will be chosen.