Not sure how realistic this is yet, but someone suggested detecting and displaying fallacies in text. Might be able to design some rough detection for some one by one; unlikely to design something that just reads and understands fallacies as a whole.
https://en.wikipedia.org/wiki/List_of_fallacies