Function wordshk_tools::parse_tags [−][src]
pub fn parse_tags<'a>(name: &'static str) -> BoxedParser<'a, Vec<String>, ()>
Expand description
Parse tags on a word like pos, label, and sim
For example, here’s the label tags of the word 佛系:
(label:外來語)(label:潮語)
// which parses to:
vec!["外來語".into(), "潮語".into()]