Language modeling by variable length sequences: theoretical formulation and evaluation of multigrams | Synapse