If the story is about IBM releasing earnings, the algorithm will look at language and grammatical structure to assess how positive or negative it is and give it a score that combines sentiment, relevance, novelty and whether it is breaking news or a followup.
FORBES: All the News That's Fit to Trade