The top documents of semiautomata