开发者

Creating a tag cloud from text:nsp output

开发者 https://www.devze.com 2023-03-05 04:39 出处:网络
I am using Text::NSP which creates n-gram from text files. Is it possible to create tag clouds fr开发者_运维技巧om an output file of Text-NSP? I have used and liked IBM Word Cloud Generator which only

I am using Text::NSP which creates n-gram from text files. Is it possible to create tag clouds fr开发者_运维技巧om an output file of Text-NSP? I have used and liked IBM Word Cloud Generator which only gives a tag cloud output from the frequency of each word within a file. However, I am working with 2-grams and 3-grams. In short, I need a tag cloud generator which will accept an input file with words and their occurrence number. I am running on Debian. Thanks all.


I started to use R snippets package which is what I was searching for. The output of text::nsp should be changed with some bash scripts in order to obtain a dataframe acceptable by the R.

0

精彩评论

暂无评论...
验证码 换一张
取 消