Source: http://www.linguist.univ-paris-diderot.fr/~amsili/Ens16/pdf/tb/TD1.lrationnels.corrected.pdf