Transition Graph images computation and word acceptance