The quality of such tagging is not very high since we do not use any lexicons or pretrained models.
3 The STOP probability is computed in a similar way: where is the number of times a head c h had the last child c f in the direction dir in the history.