N-gram, tf-IDF in perl

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

am trying to do some pattern 'mining' in piece of multi word on each
line. I have done the N-gram analysis using the Text::Ngrams module in
perl which give me the frequency of each word . I am however quite
confused about the finding patterns in this text.

The tf-idf finds frequency also I presume but how does this differ
from the Ngram analysis that I did and how does the similarity measure
also help.

Please are there any perl modules or snippets of code I could get to
understand some of this concepts .

Please I am from new at this and have to do some pattern recognizing
so I am a little new to some of these , a good reference on this
topics will be appreciated.

Site Timeline