Learning the alphabet