Initially, self-talk is still very much a tool of social interaction, tapering away to negligible levels when the child is alone or with deaf children that cannot hear her.
However, self-talk is used more as a tool for self-directed and self-regulating behavior.