We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I went to the following naïve design:
Build a two sets of tokens from wikipedia from both computer-mouse and animal mouse pages
Remove from intersection tokens from both sets
Then, tokenise input query and count tokens belonging to the animal mouse or computer mouse set
Then return the concept having the highest count
M
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Disambiguation: Mouse vs Mouse
You are viewing a single comment's thread. Return to all comments →
Hi,
I went to the following naïve design: Build a two sets of tokens from wikipedia from both computer-mouse and animal mouse pages Remove from intersection tokens from both sets
Then, tokenise input query and count tokens belonging to the animal mouse or computer mouse set Then return the concept having the highest count
M