Learning HMMs with Nonparametric Emissions via Spectral Decompositions of Continuous Matrices