Refactor map-ngrams.
Refactor map-ngrams.

Instead of calling with the subseq, call with the indexes.

This opens the door to a more efficient implementation that avoids
quite so much allocation.

TBRSS/cl-textcat