Dear, you have to return your desired value as string like this:
[WebMethod]
public string Dictionary()
{
Dictionary<string,string> wordPairs = new Dictionary<string,string>();
string englishword;
wordPairs.TryGetValue("malayword", out englishword);
return englishword;
}