A Theory of Language and Mind