Word lattices