如何在.net中构建词典应用程序?

如何在.net中构建词典应用程序?

问题描述:

我要构建字典应用程序,但不知道最佳解决方案.我知道我可以在.net中使用一些键值类,例如HashTable,Dictionary ...从数据库中加载键值对,或者可以使用Select Sql语句来帮助查找输入单词的含义. ..能否请您为我提供构建词典应用程序的最佳解决方案?
我应该将所有数据库加载到内存中还是部分加载(取决于关键字输入)?我需要它快速运行并有效使用内存.
请帮助我或带我了解有关字典构建技术的所有知识!
非常感谢您的所有帮助!非常感谢!

I am going to build a dictionary application but don''t know the best solution. I know I can use some key-value classes in .net such as HashTable, Dictionary... to load the key-value pairs from the database, or I can use Select Sql statement to help look up the input words for their meanings... Could you please suggest me the best solution in reality to build a dictionary application?
Should I load all the database into memory or load it partially (depending on the key word input)? I need it the fast operation and effective usage of memory.
Please help me or lead me to any stuffs about dictionary building technologies!
All your helps are highly appreciated! Thank you very much!

我碰巧开发了一个非常快速的字典应用程序(桌面,C#,System.Windows.Forms中的UI),可以与大型词典一起使用,并且可以告诉您,这需要大量的知识甚至是研究.

我在过去的解决方案中分享了一些想法,请参阅:
词典在android中作为带有日食的应用 [ ^ ],
是否有包括发音的英语词典? [ ^ ].

—SA
I happened to develop a very fast dictionary application (desktop, C#, UI in System.Windows.Forms) which works with big dictionaries and can tell you that this needs a good deal of knowledge and perhaps research.

I shared some of the ideas in my past solutions, please see:
Dictionary in android as app with eclipse[^],
Is there any English dictionary including pronunciations?[^].

—SA