Trigram string similarity for UNICODE and single byte character set strings

An initial implementation of the trigram similarity using child datasets.
Possibly better as a hash-aggregate

roll_rec := TABLE(l_tgrams+r_tgrams, { t_gram , l_count := SUM(GROUP, l_count)... }, t_gram, FEW);