Humbedooh / clc

Conscious Language Checker
Apache License 2.0
5 stars 5 forks source link

False positive: masters and bachelors degrees #6

Open sebbASF opened 3 years ago

sebbASF commented 3 years ago

The partial word 'master' is flagged; that is wrong. Or if it is not wrong, why is bachelor not flagged?

rbowen commented 3 years ago

Bachelor is not flagged because it is not one of the words for which we are filtering. I feel like I'm missing something here. Are you suggesting that 'bachelor' is a word that is also considered problematic?

sebbASF commented 3 years ago

I am suggesting that if masters degree is problematic, then why is bachelors degree not? They appear to be both gendered expressions.

But I think the real problem is that the current approach of matching not only the plain word, but also detecting the word within other strings (if the word is longer than 5 characters). This is bound to create false positives.

rbowen commented 3 years ago

I've not heard anyone suggest that "masters degree" is problematic. Indeed, every time I have seen that brought up, even hypothetically, on any 'inclusive language' mailing list, the consensus has been that masters degree is not something that we should flag, since it's the formal name of a type of academic degree. So possibly the regex could be enhanced to exclude that match?

sebbASF commented 3 years ago

Or only match 'master' not 'masters'

j143 commented 3 years ago

So possibly the regex could be enhanced to exclude that match?

Hi @rbowen can we either exclude that match or flag only the separate words. patterns - word or word/, but not word.. (mastercard, masters etc) and ..word (webmaster)