simple script to create ngrams from sentences stored in a mysql db