Have you tried SuggestBox that provide this functionality in-build?
--EDIT--
use different constructor of Anchor that accepts SafeHtml.
- Look at this constructor of Anchor
Sample code
String retval = "en<b>glish to hindi</b>";
Anchor anchor = new Anchor(retval, true, "http://localhost:8080/w1/", "_blank");
Sample code: (dynamically change the value in html)
String match = "en";
String result = "english to hindi/english speaking/english grammer/english songs";
for (String retval : result.split("/")) {
String html = retval.replaceAll(match, "<b>" + match + "</b>");
System.out.println(html);
Anchor an = new Anchor(html, true, "http://localhost:8080/w1/", "_blank");
...
}
Note: Not a good design to fetch the result separated by slash. What about if slash is searched?