Similar Items: Feasability of Learning Weighted Automata on a Semiring