2013年8月8日 星期四

Inverted list

Sample document collection

Id Contents
1. The only way not to think about money is to have a great deal of it.
2. When I was young I thought that money was the most important thing in life; now that I am old I know that it is.
3. A man is usually more careful of his money than he is of his principles.
========================================================================
The indexes are:
List 1 Just the document lists. The format is (d1, d2, . . .), where dn is the document id number.
List 2 Document lists with word frequencies. The format is (d1:f1, d2:f2, . . .), where dn is the document id number and fn is the word frequency.
List 3 Document lists and word positions with word granularity. The format is (d1:(w1, w2, . . .), (d2:(w1, w2, . . .), . . .), where dn is the document id number and wn are the word positions.
========================================================================






沒有留言:

張貼留言

Types of Bots: An Overview

Learn more about all the different varieties of bots, and what they can do for you http://botnerds.com/types-of-bots/ In this articl...