Grammarly, a developer of cloud-hosted online grammar checking and plagiarism detection tools, has developed a tone detector the company claims can identify subtle contextual clues conveying a range of tempers. Essentially, it taps a battery of hard-coded rules and machine learning algorithms to spot signals in a piece contributing to its tone, including word choice, phrasing, punctuation, and even capitalization.