Class StringApproximateMostFrequentStateFactory