Task: Toxic Language Detection
Input (English): Comment: That's irrelevant.

It's not newspapers or broadcasters that determine the legal use of the term; it's the university that grants the degree.  You're clearly ignorant of the history of the term 'doctor' and its origin in the medieval church run universities. You originally applied to teach at the university, were tested for competence, and if you passed, were declared a 'doctor', because the Latin term was directly tied to your licence to teach. The Latin 'docere' is the root, meaning "to teach".

MD, JD and PhD all got the term the same way - because they were all taught at universities that employed 'doctors' licensed to teach those subjects at those universities.  If a student studied long enough that the existing doctors deemed them worthy, they themselves could then teach.

And you were one wiki or Google search away ...
Output (English): Non-identity-attack