Invia SMS: Structural analysis learnt by example :