Added integer labels for sentence nodes and transition edges.