The raw term frequency counts occurrences of term in one document , after the chosen indexing preprocessing. It records how often the term appears there. Document frequency instead counts how many documents contain the term.[ref]
For indexed terms , the indicator function gives
In red red boat, the raw term frequency of red is two and that of boat is one. The proportions and are normalized counts; they are not the raw counts in this convention.
Reordering the document to boat red red preserves both term frequencies but changes which phrase queries match. Counts therefore compress away ordering information. A positional index can retain the occurrence positions as well as the counts.[ref]
A retrieval score can use term frequency as evidence that a document discusses a query term, but repetition alone does not establish relevance. Nor must doubling a raw count double a score: a scoring rule can deliberately reduce the effect of repeated occurrences. Whenever a transformed or normalized quantity is called term frequency, its formula should be specified.

Articles by others on the same topic (0)

There are currently no matching articles.