During spelling correction, there is not any need for any data to leave your computer. In fact, the spelling correction on this text box is a feature of your browser, not of news.ycombinator.com.
The whole point about serving targeted ads is aggregating multiple sources of data to build an extensive "customer" profile.