Categorizing Words and Category Values

前端 未结 21 1649
温柔的废话
温柔的废话 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:32

    My first thought would be to leverage external data. Write a program that google-searches each word, and takes the 'category' that appears first/highest in the search results :)

    That might be considered cheating, though.

提交回复
热议问题