Moved strToVector method into ngram namespace directly
Fixed return from getFullId to be a table