Function llamapun::patterns::match_sentence
source · [−]pub fn match_sentence<'t>(
pf: &PatternFile,
sentence: &Sentence<'_>,
range: &'t DNMRange<'_>,
rule: &str
) -> Result<Vec<Match<'t>>, String>
Expand description
returns the matches in a sentence