Function ngramsFinder() is now external and can be access from outside this code. It takes a text and finds the best bigrams and trigrams which are written into a file.

TODO: implement ngramsText() which takes a text and returns the text where the bigrams and trigrams have been converted to a single token