Trie(三元搜索树)的 J2ME 实现

发布于 2025-01-06 20:52:26 字数 269 浏览 5 评论 0原文

我目前正在研究预测文本短信系统。我想使用 TST 数据结构和二元语法(根据当前按键序列 12 键盘预测下一个可能的单词)来实现它。
目前我有一个语料库,并使用可用的应用程序来制作字典、二元语法和频率。当前有以下问题:

  1. 我可以在这种情况下找到 J2ME TST 实现或合适的 Trie 吗? (对可用的 TST trie 进行更详细的解释可能很棒)
  2. 关于此项目方法的一般指导

注意:我已经研究过类似的 Trie 实现,但仍然无法找出前进的方向

I am currently working on a predictive text SMS system. I want to implement it using TST data structure and bi-gram (Predicting the next probable word based on current key sequence 12-keypad).
Currently I have a corpus and have used the available applications to come up with a dictionary, bi-gram and frequencies. Currently have the following questions in mind:

  1. Can I find a J2ME TST implementation or a suitable Trie on this case? (More detailed explanation on the available TST trie can be great)
  2. A general guidance on this project approach

NB:I Have looked at similar Trie implementations but still unable to figure out a way forward

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

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

发布评论

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

评论(1

堇年纸鸢 2025-01-13 20:52:26

您可以看一下:http://algs4.cs.princeton.edu/52trie/
替代方案可以在算法,第 4 版中找到,一般来说......

You may look at this: http://algs4.cs.princeton.edu/52trie/
Alternatives can be found at Algorithms, 4th Edition in general...

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