Glossary
- Bag of words (BoW)
- Representation of a document as a multiset of terms with counts; order and grammar are ignored. U3
- BM25
- Probabilistic ranking function combining IDF, saturating term frequency (\(k_1\)) and length normalisation (\(b\)). U8
- Boolean retrieval
- Retrieval model with queries built from AND, OR, NOT; returns an unranked set of exactly matching documents. U4
- BSBI
- Blocked Sort Based Indexing: sort blocks of (termID, docID) pairs in memory, write runs, merge. U5
- Champion list
- Precomputed top \(r\) documents per term, used to speed up ranked retrieval. U7
- Chunking
- Splitting long documents into passages that are embedded separately. U9
- Cosine similarity
- \(\cos(\vec q,\vec d) = \vec q\cdot\vec d / (\lVert\vec q\rVert\lVert\vec d\rVert)\): similarity by angle, independent of vector length. U7
- Dictionary
- Data structure holding the vocabulary with document frequency and pointers to postings lists. U4, U6
- Document frequency (df)
- Number of documents in which a term occurs. U4, U7
- Edit (Levenshtein) distance
- Minimum number of insertions, deletions and substitutions to transform one string into another. U4
- Embedding
- Dense, learned vector representing the meaning of a word, sentence or document. U9
- Front coding
- Dictionary compression storing a shared prefix once, followed by suffixes. U6
- Gamma (γ) code
- Prefix free bit level code: unary length of the offset followed by the offset. U6
- Gap encoding
- Storing differences between consecutive docIDs instead of the docIDs. U6
- HDFS
- Hadoop Distributed File System: replicated block storage across a cluster. U2
- Heaps' law
- \(M = kT^b\): vocabulary size grows sublinearly with the number of tokens. U6
- IDF
- Inverse document frequency, \(\log(N/\mathrm{df}_t)\): rare terms get higher weight. U7
- Information need
- What the user actually wants to know, expressed (imperfectly) as a query. U1
- Information Retrieval
- Finding material of an unstructured nature that satisfies an information need from within large collections. U1
- Inverted index
- Mapping from each term to the sorted list of documents (postings) containing it. U4
- k gram index
- Index from character k grams to terms; used for wildcard queries and spelling correction candidates. U4
- Kafka
- Distributed, partitioned, replayable event log for stream transport. U2
- Laplace smoothing
- Adding one to every count so unseen words do not get probability zero. U9
- Lemmatisation
- Reducing inflected forms to their dictionary lemma (ran → run). U3
- Logarithmic merge
- Dynamic indexing strategy keeping indexes of sizes 1, 2, 4, … and merging them like binary carries. U5
- MapReduce
- Programming model: map records to key value pairs, shuffle by key, reduce per key. U2, U5
- Naive Bayes
- Classifier choosing \(\arg\max_c P(c)\prod_t P(t\mid c)\) under a conditional independence assumption. U9
- Pivoted normalisation
- Length normalisation softened around the average document length. U7
- Positional index
- Inverted index storing term positions within each document; supports phrase and proximity queries. U4
- Probability Ranking Principle
- Ranking documents by decreasing probability of relevance is optimal under standard assumptions. U8
- Soundex
- Phonetic code (letter + 3 digits) that maps similar sounding names to the same key. U4
- SPIMI
- Single Pass In Memory Indexing: per block dictionaries, postings built directly without sorting pairs. U5
- Spark
- Distributed in memory processing engine for batch, SQL, ML and streaming. U2
- Stemming
- Rule based suffix stripping to a common stem, not necessarily a word (automation → automat). U3
- Stopwords
- Very frequent, low content words (the, of, and) often removed or downweighted. U3
- TF·IDF
- Term weight \(\mathrm{tf}_{t,d} \times \mathrm{idf}_t\): frequent in the document, rare in the collection. U7
- Token / Term / Type
- Occurrence of a word / normalised index unit / distinct class of tokens. U3
- Variable Byte (VB) code
- Byte aligned integer code: 7 payload bits + 1 continuation bit per byte. U6
- Vector Space Model
- Representation of documents and queries as weighted term vectors, ranked by similarity. U7
- YARN
- Hadoop's cluster resource manager. U2
- Zipf's law
- The \(i\)th most frequent term has frequency proportional to \(1/i\). U6