English 中文(简体)
干扰对术语频率的影响?
原标题:Effects of Stemming on the term frequency?

“频率”和反常文件频率(IDF)如何受到中词删除和遏制的影响?

感谢!

最佳回答

tf is term frequency idf is inverse document frequency which is obtained by dividing the total number of documents by the number of documents containing the term, and then taking the logarithm of that quotient.

stemming effect is grouping all words which are derived from the same stem (ex: played, play,..), this grouping will increase the occurrence of this stem because frequencies are calculated using stem not words, For example, if you have 2 documents: the first one contains play 2 times and played 5 times, and the second document contains play 3 times and played 1 time if you do a search for play without stemming the second document will be first because it has more occurrence of the word play , while if you do stemming, both words will be play after stemming and the first document will be first cause it contains the stem play 7 times and the second document contains the stem play 4 times.

关于中途词的删除,它经常出现在所有文件中,并且没有将它视为其中任何一种关键词,它就会有很高的fr。

问题回答

暂无回答




相关问题
Split a text file in PHP

How can I split a large text file into separate files by character count using PHP? So a 10,000 character file split every 1000 characters would be split into 10 files. Further, can I split only after ...

term clustering library?

Does anybody know an open-sourcefree library that does term clustering? Thanks, yaniv

Unicode Strings in Ruby 1.9

I ve written a Ruby script that is reading a file (File.read()) that contains unicode characters, and it works fine from the command line. However, when I try to put it into an Automator Workflow (...

Extract key sentences from a text

do you know about an effective method for extracting key sentences from a text with their frequency parameters, etc and that can also do "stemming" (search also for similar sentences) ? I wonder also ...

Getting word count for all files within a folder

I need to find word count for all of the files within a folder. Here is the code I ve come up with so far: $f="../mts/sites/default/files/test.doc"; // count words $numWords = str_word_count($str)/...

How to read, in a line, all characters from column A to B

is it possible in Python, given a file with 10000 lines, where all of them have this structure: 1, 2, xvfrt ert5a fsfs4 df f fdfd56 , 234 or similar, to read the whole string, and then to ...

热门标签