A general-purpose sentence-level nonsense detector