fn autocomplete_terms<T: Default + FromStr + Into<ThingData>>( input: &str, basic_terms: &[&str], vocabulary: &[(&str, &str, &[&str])], ) -> Vec<AutocompleteSuggestion>