A splitter function that returns a list of terms from source.
source
typedef TextSplitter = List<String> Function(String source);