查找文本数据负载的趋势 [英] Finding trends in loads of text data
本文介绍了查找文本数据负载的趋势的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张大桌子,希望至少找到重复最多的作品,这样我才能有一个趋势关键字列表.
I have a large table and would like to at least find the most repeated works so I can have a trends keyword list.
数据库是mysql,我正在运行php5.
The database is mysql and I am running php5.
除了分解数据并在php端搜索重复以外,还有其他方法吗?
Is there any other way besides exploding the data and searching for repetitions on the php side?
将2/3个单词的关键字趋势组合在一起怎么办?
What about having combinations of 2/3 words keyword trends?
有什么想法吗?
推荐答案
好吧……由于我没有得到任何答案,我发现了使用php的方法:
well... as I didnt get any answers I found a way using php:
$wordfrequency = array_count_values( str_word_count( $string, 1) );
希望它对某人有帮助:)
hope it helps someone :)
这篇关于查找文本数据负载的趋势的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文