add function to iterate over all symbols
fix supervised train emission test