Technique to remove common words(and their plural versions) from a string

后端 未结 3 1613
悲哀的现实
悲哀的现实 2021-02-05 08:17

I am attempting to find tags(keywords) for a recipe by parsing a long string of text. The text contains the recipe ingredients, directions and a short blurb.

Wha

3条回答
  •  青春惊慌失措
    2021-02-05 08:54

    Your problem domain is "Natural Language Processing".

    If you don't want to reinvent the wheel, use NLTK, search for stemming in the docs.

    Given that NLP is one of the hardest subjects in computer science, reinventing this wheel is a lot of work...

提交回复
热议问题