Learning set parser