Natural Language Processing: Find obscenities in English?

后端 未结 11 1266
自闭症患者
自闭症患者 2021-02-09 21:15

Given a set of words tagged for part of speech, I want to find those that are obscenities in mainstream English. How might I do this? Should I just make a huge list, and check f

11条回答
  •  攒了一身酷
    2021-02-09 21:57

    A huge list and think of the target audience. Is there 3rd party service that you can use that specialises in this rather than rolling your own?

    Some quick thoughts:

    • The Scunthorpe problem (and follow the links to "Swear filter" for more)
    • British or American English? fanny, fag etc
    • Political correctness: "black" or "Afro-American"?

    Edit:

    • Be very careful and again here. Normal words can offend, whether by choice or ignorance

提交回复
热议问题