There is no trivial way to detect motivation, on the contrary leveraging the accusation of someone arguing in bad faith is usually seen as ending an intellectual exchange.
To be realistic, this can be that case, especially on the net, and there are ways you can make an educated guess. But it stays a guess and in the end I want to do the guessing myself. It cannot be outsourced aside from the most trivial cases like spam, advertising, etc.
That aside people with a foul mouth might use words differently while others people might receive it as a slur. We now have words that have much more might than they had before with the better approach to such issues.