实现词典应用程序文件格式的最佳方法是什么?

发布于 2024-10-06 04:04:38 字数 99 浏览 0 评论 0原文

我想在android平台上写一个字典应用程序。现在我对如何组织文件中的字典条目有了一些基本的了解。我想听听你们关于组织文件中条目以获得最佳性能的最佳方式的意见。

谢谢。

I want to write a dictionary application on the android platform. Now I have some basic idea of how to organize the dictionary entries in a file. I want to hear from you guys opinion on what's the best way to organize the entries in a file in order to get best performance.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

混吃等死 2024-10-13 04:04:38

不要重新发明轮子,已经有完美的系统用于存储、搜索和检索数据。它们被称为数据库。

看起来 Android 上有一个不错的进程数据库 SQLite

Don't reinvent the wheel, there are already perfect systems for storing, searching and retrieving data. They are called databases.

It looks like the nice in process database SQLite exists for Android.

咋地 2024-10-13 04:04:38

使用 Trie =)

Use a Trie =)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文