Categorizing Words and Category Values

前端 未结 21 1651
温柔的废话
温柔的废话 2021-01-31 05:49

We were set an algorithm problem in class today, as a \"if you figure out a solution you don\'t have to do this subject\". SO of course, we all thought we will give it a go.

21条回答
  •  礼貌的吻别
    2021-01-31 06:53

    Fire this teacher.

    The only solution to this problem is to already have the solution to the problem. Ie. you need a table of keywords and categories to build your code that puts keywords into categories.

    Unless, as you suggest, you add a system which "understands" english. This is the person sitting in front of the computer, or an expert system.

    If you're building an expert system and doesn't even know it, the teacher is not good at giving problems.

提交回复
热议问题