开发者

extract meaning of a word in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vag开发者_如何学JAVAue, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I m doing a project which invoves extracting the semantics of a word. While doing some resaerch I found out it's better to get Synonyms of a word rather than trying to extract semantics.

What is the best way of doing this. I only need to get the synonym of a word.

Please help.


  1. Find a thesaurus. Pay attention to its licensing. E.g., Roget's Thesaurus. There may be one that is better-suited to being parsed programmatically.
  2. Parse the thesaurus. For example, you could might store it in a Dictionary<string,List<string>>.
  3. Look up entries as needed. How this is done depends on what data structure you stored it in. It's pretty easy in a Dictionary.

If you have trouble with a specific step in this process, feel free to ask. Your question is a bit too open-ending for me to know exactly what part to focus on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜