added generate_ngrams and generate nhashtags in deploy utility