字符串/序列模式挖掘

发布于 2024-09-28 11:39:20 字数 151 浏览 1 评论 0原文

这一周我一直在努力寻找问题的答案,如果有人能提供帮助,我将不胜感激。 我有一个字符串列表(最初是序列列表,可以被视为字符串列表),我想在这个列表的字符串中找到一个模式(它本身就是一个字符串),是否有任何java库可以我可以使用或者有任何工具(例如 weka ,它不这样做!)可以帮助我吗?

it's a week i'm trying to find an answer for my question , i would appreciate if anyone can help .
I've got a list of strings(originally list of sequences which can be viewed as list of strings) and i'd like to find a pattern (which is a string itself) withtin strings of this list , is there any java library which can i use or is there any tool (like weka , which doesn't do this!) which can help me ??

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

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

发布评论

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

评论(2

迷爱 2024-10-05 11:39:20

听起来您想找到这些字符串的最长公共子序列。这是一个众所周知的算法问题,通常使用动态规划来解决。请参阅此处了解多种语言的各种实现。

Sounds like you want to find the longest common subsequence of those strings. This is a well known algorithmic problem that is commonly solved using dynamic programming. See here for various implementations in multiple languages.

左耳近心 2024-10-05 11:39:20

如果你想找到一组序列中频繁出现的模式,那么你可以尝试“序列模式挖掘”或“序列规则挖掘算法”。

在我的 SPMF Java 开源数据挖掘库 中,有这些算法的多种实现。

If you want to find patterns frequently occuring in a set of sequence, then you could try "sequential pattern mining" or "sequential rule mining algorithms".

There are several implementations of these algorithms in my SPMF Java open-source data mining library.

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