Natural Language Processing: Find obscenities in English?

后端 未结 11 1253
自闭症患者
自闭症患者 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:58

    I'd make a huge list.

    Regex'es have the problem of misfiring, when applied to natural language - especially with an amount of exceptions English has.

提交回复
热议问题