Directed acyclic word graphs