Source: https://unt.unice.fr/uoh/learn_teach_FL/docs/1grammartransCOG.pdf