Fix export declaration and generalise function
Fix export declaration and generalise function

 - The export declaration lacked several functions intended to be
   exposed to the user.

 - In doubleToCSV, lexeme was changed to ngram to reflect that the
   function is intended not just for single words, but for words
   and phrasal ngrams.

R-Morgan/NGramCrackers