[R] Word occurrence rate in a tweet

2013-07-10 Thread Bembi Prima
Hi all, Currently I am working on a code that will calculate word occurrence rate in a tweet. First, I have 'tweets' that contains all the tweet I grabbed and I make 'words' that contains all unique word in 'tweets'. After that I use sapply to calculate probability of a word appearing in 'tweets'.

[R] Word occurrence rate in a tweet

2013-07-02 Thread Bembi Prima
Hi all, Currently I am working on a code that will calculate word occurrence rate in a tweet. First, I have 'tweets' that contains all the tweet I grabbed and I make 'words' that contains all unique word in 'tweets'. After that I use sapply to calculate probability of a word appearing in 'tweets'.