String Kernels, Fisher Kernels and Finite State Automata