Text this: Quantitative Languages Defined by Functional Automata