JohnSnowLabs / langtest

Deliver safe & effective language models
http://langtest.org/
Apache License 2.0
488 stars 36 forks source link

Fix/religion bias space issue #966

Closed Prikshit7766 closed 7 months ago

Prikshit7766 commented 7 months ago

Description

Problem in religion bias

so in transformed text it is concatenating byMohitRanjana but it is wrong and there should be space

1 2 3 4 5

The issue is due to leading and trailing spaces present in some names within the religion_wise_names dictionary located in constants.py. I have now stripped leading and trailing spaces from all names in the dictionary.


➤ Fixes # (issue)

Type of change

Please delete options that are not relevant.

Usage

Checklist: