use verba::verb as V; pub fn create_verb(present_active_indicative: String, present_active_infinitive: String, perfect_active_indicative: String, perfect_passive_participle: String) -> V::Regular { match V::Regular::new(present_active_indicative, present_active_infinitive, perfect_active_indicative, perfect_passive_participle) { Ok(verb) => verb, Err(_) => panic!("Failed to create regular verb."), } } pub fn create_laudare() -> V::Regular { create_verb("laudō".to_string(), "laudāre".to_string(), "laudāvī".to_string(), "laudātum".to_string()) }