SMS: Statistical language learning