An electronic "jewel" in Ender's ear allows both of them to communicate and for her to see and hear everything from Ender's vantage point. She helps Ender with many things.
We're looking at the neuromuscular patterns being sent through the nervous system and inferring from those patterns what words would have been said out loud had a person actually permitted himself to produce the acoustics.