A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 5 years ago
İ need a function for a search machine, that this function should find the mostlooking like string values to the users input, example: if user writes "Math" this function must find the "mathematics" keyword and match it to the pertinent links and list them, then another function should list them on screen :d
anonymous
 5 years ago
İ need a function for a search machine, that this function should find the mostlooking like string values to the users input, example: if user writes "Math" this function must find the "mathematics" keyword and match it to the pertinent links and list them, then another function should list them on screen :d

This Question is Closed

anonymous
 5 years ago
Best ResponseYou've already chosen the best response.0are you assuming that they will provide input starting at the beginning of the string? Or could they enter "ematics" and expect to get "mathematics"? With out thinking about the problem much, it could be solved using trees. It is an interesting problem but if you are not extremely familiar with linear datastructures (arrays, stacks, queues) and recursion. You might want to start there and build up to recursively based nonlinear datastructures. That said, using a tree is how I would solve the problem.

rsmith6559
 5 years ago
Best ResponseYou've already chosen the best response.0Word completions can be done with a Markov sequence. Finding words that can be extended from a partial like math could be done with a lexicon ( dictionary without definitions ) based on a set.

anonymous
 5 years ago
Best ResponseYou've already chosen the best response.0If you know the concepts of KARNAK  used in AJAX.. will help you to solve your problem..It is only possible if you are using code in some Web based Technologies like(JSP.STRUCTS,SERVLETS/PHP/C#) it is not possible to use with C,C++ since they are not web based. Better try using the Concepts of Binary trees where it uses the parsing of string w.r.t the give input string.. All the best

anonymous
 5 years ago
Best ResponseYou've already chosen the best response.0there are lot of string matching functions in algorithms like knuthmattpratt (KMP algorithm)...u can go thru book called algorithms by cormen...which gives u lot of info
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.