NGrammer typedef

NGrammer = List<String> Function(String text, NGramRange range)

A language-specific function that generates n-grams from text.

Implementation

typedef NGrammer = List<String> Function(
  String text,
  NGramRange range,
);