Text this: Automata representation for abelian groups