Emergence of linguistic and cognitive representations