implementation of TokenFrequencyMatrixBuilder
Completed missing methods in TokenFrequencyMatrix