Automaton implementation of dehopification