Source: http://www.linguist.univ-paris-diderot.fr/~amsili/Ens14/pdf/tp-li3242-2.pdf