Added code for domain corpus ngram extraction