NLP Module 4 Notes
NLP Module 4 Notes
The huge amount of information stored in electronic form has placed heavy demands on
information retrieval (IR) systems. As a result, information retrieval has become an
important research area.
This chapter focuses on the design of IR systems. It discusses the design features of these
systems and introduces various IR models, such as:
A detailed discussion of the vector space model is also included. The final topic in this chapter
is evaluation models used to assess the effectiveness of IR systems.
9.1 INTRODUCTION
Information Retrieval (IR) is about helping people find the information they are
looking for. When someone wants to know something, they type a question or a few
words (a query), usually in normal language. The IR system looks through a lot of stored
information and brings back documents (like articles, web pages, or reports) that seem
related to what the person asked.
History: Work on IR started around the 1960s, mainly focusing on searching text. In the
past, IR didn’t use much help from Natural Language Processing (NLP) (which is the
study of how computers understand human language). But now, because of the internet,
IR and NLP are becoming more connected. Many smart techniques from NLP are now
used in IR, like:
• Latent Semantic Indexing (LSI): Finding hidden relationships between words and
topics.
• Vector Space Retrieval: Treating documents and queries like points in space and finding
which ones are closest.
Important Point:
An IR system does not directly tell the user the answer to their question.
Instead, it shows documents where the user might find the answer.
As Lancaster (1979) said, an IR system just helps the user know where to find the
information — it doesn’t directly teach or explain the answer.
Also, in IR, a document can mean more than just text. It could also be a photo, a video, or
an audio recording.
However, this chapter only talks about text documents.
Module 4 (INFORMATION RETRIEVAL)
• IR systems: Your question might be a bit vague, and the system brings you documents
that might have what you’re looking for.
When you use an Information Retrieval (IR) system (like Google), the process
works like this:
2. You think about it and type a query (some words describing what you
want).
4. It then shows you the documents that seem to be related to your query.
In short:
→ User → Information Need → Query → IR System → Documents → Relevant
Documents
• Documents are not searched directly by their full text because it would
be too slow and heavy for the computer.
• The job of turning full documents into lists of keywords is called indexing.
o Each keyword points to the list of documents that have that keyword.
o Example:
"roses" → Document 3, Document 5, Document 10
• Stemming:
Words are cut down to their root form.
Example: running, runs, and runner → run
• Zipf’s Law:
Very common or very rare words are ignored because they don't help much
in finding good documents.
Module 4 (INFORMATION RETRIEVAL)
Choosing the right keywords and weights is very important for making the IR
system work well!
9.2.1 Indexing
What is Indexing?
• When there are just a few documents, an IR system can easily read each
document to see if it matches a query.
• But if there are thousands or millions of documents, reading each one takes
too much time.
• So, indexing is done:
It means changing the documents into a simple list of important words
or phrases (called terms).
Why Index?
• The goal is to find good "descriptors" — important words that describe the
document.
• A good descriptor:
o Tells what the document is about.
o Helps separate it from other documents.
Module 4 (INFORMATION RETRIEVAL)
• He said:
o Look at how often a word appears in a document.
o Words that appear too much (like "the", "and") are not helpful.
o Words that appear only once are also not very helpful.
o Words that appear a middle number of times are the best — they help
describe the document well.
• Design
• Features
• Information retrieval
• Information retrieval systems
1. N-grams:
Look for word pairs that often come together (like "information retrieval").
2. POS Tagging:
Tag each word with its grammar role (noun, verb, etc.) to find smart word
groups.
3. NLP Tools:
Use computer programs that understand language to find important phrases.
4. Manual selection:
Humans pick good phrases by hand.
Module 4 (INFORMATION RETRIEVAL)
1. Take any two non-common words that are next to each other.
2. Keep only those word pairs that appear in 25 or more documents.
Phrase Normalization
• Different ways of saying the same thing should be treated as the same phrase.
• Example:
o "President Kalam"
o "President of India"
→ Both point to the same person.
• Example:
o "Text categorization"
o "Categorization of text"
o "Text categorizAll can be te"
→ reated as the same thing: text categorize.
Summary:
• These words are important for grammar, but not important for finding
topics.
• By removing stop words, the IR system has fewer words to store and
search.
• Example:
o Famous phrases like "to be or not to be" → If stop words are removed,
the whole meaning disappears.
We remove stop words to make searching faster, but we must be careful because
sometimes stop words are important for the meaning.
Module 4 (INFORMATION RETRIEVAL)
9.2.3 Stemming
What is Stemming?
• So that different forms of the same word are treated as one word.
• This groups similar words together.
• It helps the system find more relevant documents during a search.
Example:
Original sentence:
“Design features of information retrieval systems”
After:
Result:
{design, featur, inform, retriev, system}
• Sometimes, stemming makes different words look the same, even when they
mean different things.
• Example:
o computation and computer are stemmed similarly,
o But they talk about different ideas.
• This can cause:
o Higher Recall (you get more documents — even some that are slightly
related).
o Lower Precision (you get some wrong documents — not exactly what
you want).
Stemming helps find more documents by grouping similar words, but sometimes it
may confuse different ideas.
In easier words:
• The third most common word appears about one-third as much, and so on.
• Tall bars on the left: Some words occur very frequently (like "the", "is",
"and").
• Short bars on the right: Many words occur very rarely (like
"encyclopedia", "symphony").
• Common words (like "the", "is") are not helpful because they are in almost
every document.
They don't tell much about what the document is really about.
• Rare words (that appear only once or twice) are also not very helpful,
because they might not appear in any user’s search query.
• This shrinks the index (saves memory and time) and makes search results
better.
Module 4 (INFORMATION RETRIEVAL)
Various IR models have been developed, each differing in how documents and
queries are represented and how retrieval is carried out.
Module 4 (INFORMATION RETRIEVAL)
1. Classical Models of IR
2. Non-Classical Models of IR
3. Alternative Models of IR
4. Term Weighting
[Link] IR Model :It is the simplest and easy to implement IR model. This
model is based on mathematical knowledge that was easily recognized and
understood as well. Boolean, Vector and Probabilistic are the three classical IR
models.
Classical Models of IR
• Boolean Model
• Vector Space Model
• Probabilistic Model
Introduced in the 1950s, the Boolean model is the oldest of the three classical
information retrieval (IR) models. It is based on Boolean logic and classical set
theory.
In this model:
• It's the earliest model for information retrieval (from the 1950s).
• These keywords are stored in a special file called an inverted file, which
tells you which document contains which keywords.
• Important:
• Documents:
• Keywords (Terms):
Module 4 (INFORMATION RETRIEVAL)
• Document Representations:
o d₂ = {information, query}
o d₃ = {retrieval, query}
• Query Example:
Result:
• So, D₁ is retrieved.
• No ranking: You don't know which document is better; it just gives you a
list.
• Hard queries: Users must think carefully to create a correct Boolean query
(which is not easy).
Module 4 (INFORMATION RETRIEVAL)
• When more than one document fits the query exactly, all matching documents are
retrieved.
• The system does not try to decide which document is better or more relevant — it treats
all matching documents equally.
1. No partial matching:
o If a document is somewhat relevant but not an exact match, the system ignores it.
o It only sees "full match" or "no match" — no in-between.
2. No ranking:
o The system can't say "this document is better than that one."
o It only cares whether the keywords are present, not how important they are.
3. Hard for users:
o Users usually don't write perfect Boolean expressions like:
The probabilistic model is a method used in Information Retrieval (IR). Its job is
to find documents that are most likely to be relevant to what the user is searching
for.
It was developed by researchers like Maron and Kuhns (1960) and improved by
Robertson and Sparck Jones (1976).
Main Idea:
When you search something (a query), the system looks at each document and asks:
Then:
What’s Given?
You have:
Pick
The final set S is the list of documents that meet these two conditions.
Challenges:
The Vector Space Model (VSM) is a method used by search engines to find and rank
documents based on how closely they match a user's search (query).
It was developed by researchers like Luhn (1959), Salton (1968), and others, and has been one
of the most studied models in the field of information retrieval.
Main Idea:
The model treats documents and queries as vectors—like arrows in space. Each term (word)
becomes a dimension in a big imaginary space.
Then, it compares the angle between a query vector and each document vector to see how
similar they are.
o .
Module 4 (INFORMATION RETRIEVAL)
Then, a document that has “cat” and “dog” will look like this:
D1 = [1, 1, 0]
(Query or document with “fish” only would be: [0, 0, 1])
3. Measure Similarity:
• Once both the query and each document are vectors, the system compares them.
• The most common method is cosine similarity.
Cosine similarity = how small the angle is between the query and document vectors.
A smaller angle → more similar → better match.
Strengths of VSM:
Limitations:
• Ignores the order of words (e.g., "white house" vs. "house white").
• Assumes terms are independent
• Can be inefficient for very large datasets without optimizations.
Module 4 (INFORMATION RETRIEVAL)
Example 9.2 Consider the documents and terms in Example 9.1. Let the
weights be assigned based on the frequency of the term within
Module 4 (INFORMATION RETRIEVAL)
You are given a few documents, and for each one, a vector of numbers shows
how often a term (word) appears in that document.
D1 D2 D3
T1 2 1 0
T2 2 0 1
T3 1 1 1
This means:
A document with more words (longer) will look "stronger" or more important just
because of higher numbers. But that doesn’t mean it's more relevant to a query.
For example:
• Solution: Normalization
To solve the problem, we make all document vectors the same length (unit
length = 1).
This is called normalizing the vectors.
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Luhn said:
• Common words (like "the", "is") are in every document → Not helpful!
• Very rare words (like typos or strange terms) → Not helpful either!
• Mid-frequency words (used sometimes) → Very helpful!
These "middle" words are the best for telling documents apart.
Where:
• nᵢ is large
• Son / nᵢ is small → low importance
• nᵢ is small
• Son / nᵢ is large → high importance
TF-IDF gives high scores to words that appear a lot in one document, but not in many others.
This helps us find the words that make each document unique or special!
Where:
IDF gives higher weight to rare words and lower weight to common words.
This helps the system know which words are more useful for telling documents
apart.
Later, researchers combined how often a word appears in a document (TF) and
how rare it is across all documents (IDF).
TF-IDF=TF×IDF
So, we:
TF-IDF combines:
Module 4 (INFORMATION RETRIEVAL)
This gives a balanced way to say how important a word is for searching.
In systems where new documents keep coming (like email spam detection):
Example 9.3
• tornado: 4
• swirl: 1
• wind: 1
This shows that “tornado” is the most significant term in the document, reflecting both its high
frequency within the document and its relative rarity across the collection.
Figure 9.3 and Table 9.4 to understand the document processing and term weighting process
clearly. The Documents (Figure 9.3)
Module 4 (INFORMATION RETRIEVAL)
We want to process these so we can compare them and search them effectively.
Step 1: Tokenization
Tokenization breaks the sentence into individual words (tokens) and makes them lowercase, removing
punctuation.
Example:
Document 1:
Common useless words like “in,” “and,” “the,” etc., are removed.
In Document 3:
("in" is removed)
Step 3: Stemming
This reduces words to their root form using a process called stemming.
Example:
• "intelligent" → "intellig"
• "techniques" → "technique"
• "retrieval" → "retriev"
• "information" → "inform"
• "probabilistic" → "probabilist"
So now:
inform 0 0 1
intellig 0 0 1
model 1 1 0
probabilist 0 1 0
retriev 0 1 1
space 1 0 0
technique 0 0 1
vector 1 0 0
This explains how similarity between documents and queries can be measured
using a vector space model in information retrieval.
What’s measured?
• The angle between the query and each document vector (θ₁, θ₂, θ₃).
• Smaller angle = more similar → Closer direction means more matching
terms.
• It helps rank documents based on how similar they are to a user’s search
query.
• Instead of just counting matching words, this method uses math (vector
similarity) to compare documents and queries.
That’s what the image is showing — vectors pointing in directions based on words in
documents, and we measure the angle between them to find the closest match.
This is about how to measure the similarity between a query (what you search for) and a
document (what’s in a collection), using mathematical formulas. These formulas compare how
many terms (words) are common and how often they appear.
Important Terms:
• dⱼ: a document
• qₖ: a query
• wⱼᵢ: weight (e.g., frequency) of term i in document j
• wᵢₖ: weight of term i in query k
• m: total number of terms in vocabulary
Module 4 (INFORMATION RETRIEVAL)
///.,
• Inner product just checks how much the document and query match.
• Dice coefficient says: “Give more score if they match well and are short.”
• Jaccard says: “Score is based on what they have in common vs total words used.”
Module 4 (INFORMATION RETRIEVAL)
Cosine Similarity
The top part (numerator) adds up the matching term weights. The bottom part (denominator)
normalizes them based on how long the vectors are (i.e., how many terms).
• It treats the document and the query as vectors (lists of numbers representing term
importance).
•
• It calculates the cosine of the angle between these two vectors.
• If the angle is 0°, the cosine is 1 → the texts are very similar (they use the same terms).
• If the angle is 90°, the cosine is 0 → the texts are completely different (no shared terms).
These models don’t rely on just similarity, keywords, or probabilities like traditional IR.
Instead, they use deeper concepts like logic, situations, and interaction to understand what users really
want when they search.
They don’t follow the traditional way of searching documents by keyword matches or probability.
Instead, they use logic, meaning, and connections.
Module 4 (INFORMATION RETRIEVAL)
Example:
Infon = "Adil is serving a dish" → this is marked as true (value = 1).
• The system checks if the situation supports this info (like someone seeing Adil serve food).
• It’s like matching facts to what’s happening.
• A document is relevant if it supports the meaning of the query (not just the words).
• Even if it doesn't have the exact words, it might still be useful if related words are used.
o Example: Query = “car”, Document = “vehicle” → related terms
• Tools like WordNet help find related meanings (like synonyms, related concepts).
• If we change the document slightly using related terms, it may now be relevant.
Module 4 (INFORMATION RETRIEVAL)
4. Interaction IR Model
This model can be implemented using Artificial Neural Networks, which are used in modern AI systems.
• Math
• AI
• Logic
• Linguistics
These help the system understand meaning better and give smarter search results,
not just exact word matches.
1. Cluster Model
2. Fuzzy Model
Example: If you search for "doctor", LSI might also show documents with
“physician” or “medical expert” — even if the word "doctor" isn’t there.
Cluster Model
The Cluster Model is a way to make searching faster and more efficient by grouping similar
documents together.
When you search for something in a huge collection of documents, it's slow and wasteful to
check every single document. The idea is to cut down the number of documents we need to
look at.
Documents that are similar to each other are likely to be relevant to the same topic or search
query.
It saves time. If there are 1,000,000 documents but only 10 clusters, you only check 10
representatives first—then maybe look into just one group more deeply. That’s a big speed-up.
clustering documents based on how similar they are, to make searching faster. Instead of comparing a
search query with all documents, we group similar documents and compare the query with the groups.
Module 4 (INFORMATION RETRIEVAL)
Step-by-step explanation:
2. Similarity matrix
We calculate how similar each document is to every other document using a similarity matrix.
Each entry e_ij in the matrix tells us how similar document di is to document dj.
3. Forming clusters
Each cluster has a representative vector (like a summary of the whole cluster), called:
Formula:
Module 4 (INFORMATION RETRIEVAL)
Searching (Retrieval)
Great — let’s walk through the problem in the image step by step using very simple words based only
on that example:
Given:
A =
[1 1 0]
[0 1 0]
[1 1 1]
[0 0 1]
[1 1 0]
Module 4 (INFORMATION RETRIEVAL)
• d1 = [1, 0, 1, 0, 1]
• d2 = [1, 1, 1, 0, 1]
• d3 = [0, 0, 1, 1, 0]
d1 d2 d3
d1 1.0 0.9 0.4
d2 0.9 1.0 0.4
d3 0.4 0.4 1.0
This means:
• Cluster C2 = {d3}
d1 = [1, 0, 1, 0, 1]
d2 = [1, 1, 1, 0, 1]
So:
r1 = [1, 0.5, 1, 0, 1]
When you search something (a query), not all documents match 100%. Some match a little,
some a lot. The fuzzy model helps us measure how much each document matches your search
— not just yes or no.
Module 4 (INFORMATION RETRIEVAL)
Imagine This:
All documents have "retrieval", but none too strongly. So they get 1/3 weight.
Module 4 (INFORMATION RETRIEVAL)
It means:
"Show me documents that talk about both retrieval and model."
We look at weights for both terms and take the minimum value:
• If a document has 1/3 for retrieval and 1/3 for model → keep it
• If one is 0 → skip it
Latent Semantic Indexing (LSI) is a method used in search engines to improve how information is found.
It tries to understand the meaning behind the words in documents, not just the words themselves.
• Sometimes, different words can mean the same thing (like "car" and "automobile").
• LSI helps match documents to a search query even if they don’t use the exact same words.
• It does this by discovering hidden patterns in how words appear together across many
documents.
1. Matrix Formation:
o Columns = documents
o Each cell WijW_{ij}Wij = how important word i is in document j (using term frequency or
other methods).
Module 4 (INFORMATION RETRIEVAL)
• SVD (Singular Value Decomposition) breaks this large matrix WWW into three smaller
matrices:
Just like documents are reduced to a smaller topic space, the search query is also transformed using the
same concept.
Module 4 (INFORMATION RETRIEVAL)
2. Similarity Matching:
• Once the query and documents are in the same space, we can measure how close they are.
• Common method: Cosine similarity (measures angle between vectors — not just word overlap).
• Keyword-based search: Only finds documents that have the same words.
• LSI-based search: Can find relevant documents that use different words but talk about similar
topics.
This image shows the actual matrices after applying SVD and reducing to 2 dimensions.
Module 4 (INFORMATION RETRIEVAL)
o Even if two documents don’t share words directly, if they use related words, LSI can still
group or rank them as similar.
In short:
• User-centered models: Focus on how happy the users are with the results.
1. Coverage of the collection: How much of the total information the system includes.
4. User effort: How hard the user has to work to find what they need.
5. Precision: Out of the documents shown, how many are actually relevant?
6. Recall: Out of all relevant documents, how many did the system find?
9.7.1 Relevance
• Relevance means how useful or related a document is to your query.
There are different relevance frameworks, like system-based, psychological, and situational—where the
user's situation, time, and context are considered.
• Precision
Module 4 (INFORMATION RETRIEVAL)
• Recall
It tells you: Out of all the documents the system gave you, how many were actually relevant?
Example: If the system gives you 10 results, and 7 are relevant, precision = 7/10 = 0.7 (or 70%)
It tells you: Out of all the relevant documents that exist, how many did the system actually find for
you?
Example: If there are 20 relevant documents in total and the system finds 10, recall = 10/20 = 0.5 (or
50%)
Module 4 (INFORMATION RETRIEVAL)
• To calculate recall, we need to know the total number of relevant documents in the entire
collection. But in real life, this is hard to know unless we use special test datasets like Cranfield
or TREC, which come with pre-labeled data.
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
This table shows different datasets used by researchers to test and evaluate Information Retrieval (IR)
systems. Each collection has:
• A number of documents
Example:
• TREC-1 has the largest dataset with 742,611 documents and 100 queries.
• Precision: How accurate the results are (how many of the retrieved documents are relevant).
• Recall: How complete the results are (how many of the total relevant documents were actually
retrieved).
There’s a trade-off:
• If you try to increase recall by retrieving more documents, you may include irrelevant ones,
reducing precision.
• If you only retrieve a few highly relevant documents (high precision), you may miss many other
useful ones (low recall).
• Many researchers have studied how precision and recall are related.
• A common idea is to use multi-stage retrieval to try to improve both, even if it's hard to achieve
both high precision and high recall at once.
• Precision at cut-off: Check how precise the results are after retrieving a certain number of
documents (e.g., top 5, top 10).
• Non-interpolated average precision: A special average that focuses only on the points where
relevant documents appear in the results.
Let’s say we retrieved 10 documents and marked which ones are relevant (with “x”).
This helps us measure how effective the IR system is in returning useful information to the user.
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
Module 4 (INFORMATION RETRIEVAL)
WordNet
What Is WordNet?
Think of WordNet as a very smart online dictionary made for computers and researchers.
• WordNet = A super dictionary that groups words with the same meanings, explains them with
examples, and links them to other related words.
5 Understand hidden meaning “She read the sky and predicted rain”
It helps machines:
• Tell the correct meaning of words depending on how they're used in a sentence.
Main Idea: Words have different meanings and are connected like a family tree.
What is a river?
WordNet says:
Here’s how words are connected in WordNet. It shows these in 3 small tables (Figures 12.2, 12.3, and
12.4):
Hyponym Small type "White oak" is a hyponym of "Oak" (It's a smaller type)
Entail One action needs another If you "Snore", you must be "Sleeping"
Module 4 (INFORMATION RETRIEVAL)
Table 3: Opposites
• Find opposites
• It groups words into sets of synonyms called synsets, and records various semantic (meaning-
based) relations among them.
• These versions follow similar principles as English WordNet but may also include language-
specific relations (e.g., Hindi-specific grammar or usage).
Hindi WordNet:
• Contains:
o 26,208 synsets
o Gloss (meaning)
o etc.
• Example sentence:
o "हर पिता की अिने िुत्र से यह आकाांक्षा रहती है पक वह अिने जीवन में सफल हो।"
→ "Every father has this aspiration that his son should succeed in life."
Applications of WordNet
• Uses synsets and semantic relationships (like hypernyms and hyponyms) to determine which
sense is most appropriate.
• Not only matches exact query words but also includes related words (synonyms).
• Example: searching for “automobile” should also find documents with the word “car”.
FrameNet
What is FrameNet?
• FrameNet is like a big dictionary for computers that helps them understand how words are
used in real-life situations.
What is a Frame?
• A main word (called the target word or predicate) — usually a verb like “arrest”, “say”, “send”.
• Roles that describe who is doing what — like "who got arrested", "who said something", "who
received something".
FrameNet helps computers understand the meaning of sentences by breaking them into parts (like
action + who + what). This is useful in many areas.
• There are people in the action → “the police” and “the thief”
FrameNet looks at this like a little movie scene. Every sentence tells a little story!
In this case, the frame is called ARREST — it’s about the situation of someone getting caught by the
police.
FrameNet says:
Applications
This means:
Example:
In both, the word "match" is involved — but in the first, it's an object; in the second, it's the subject.
FrameNet helps the computer see that "match" plays the same role (theme) in both, even though
grammar is different.
2. Question-Answering Systems
• Sender
• Receiver (Recipient)
Instead of just searching for exact words, systems can search using meaning.
Example:
If you search “Who nabbed the thief?”, the system might find “The police arrested the thief,” because
FrameNet knows "nab" and "arrest" belong to the same ARREST frame.
4. Text Summarization
Module 4 (INFORMATION RETRIEVAL)
It helps summarize documents by focusing on the main roles and actions, not just keywords.
5. Machine Translation
For example:
Example:
Stemmers
Module 4 (INFORMATION RETRIEVAL)
What is Stemming?
• For example, "running", "runs", and "runner" can all be reduced to "run".
• It helps in search engines and other NLP tasks by grouping similar words.
Popular Stemmers:
2. Lovins Stemmer
3. Paice/Husk Stemmer
Each stemmer works differently, and the output from the same text can vary.
• Many stemmers exist for languages like English, Russian, French, German, etc.
• Researchers like Ramanathan and Rao and Majumder et al. worked on Hindi stemming.
• Website: [Link]
o Text summarization
o Text categorization
Module 4 (INFORMATION RETRIEVAL)
Part-of-Speech Tagger
What is POS Tagging?
POS tagging means telling what kind of word each word is in a sentence — like whether a word is a
noun, verb, adjective, etc.
For example:
In the sentence "She runs fast."
• "She" = pronoun
• "runs" = verb
• "fast" = adverb
Why is it useful?
POS tagging helps computers understand language better. It's used in:
• It also looks at the words before and after to figure out the correct tag.
• It uses a technique called Maximum Entropy Markov Models (a statistical method that learns
from examples).
• • It chooses the best possible labels for all the words in a sentence.
• • It works fast and accurately and performs better than many other tools.
• It’s another POS tagger that uses a method called Hidden Markov Model (HMM) (again, just a
math trick).
• It is very fast, works well for new words, and is as accurate as more complex methods.
Brill Tagger
• It learns rules like “If a word ends with -ing, it might be a verb.”
CLAWS Tagger
Tree-Tagger
o Learns from many features (like nearby words) to choose the best tag.
• Researchers use:
They learn using rules, examples, or math (probabilities), and they are used in things like Google
Translate or voice assistants.
Module 4 (INFORMATION RETRIEVAL)
Researchers need data to test how good their search systems are. These test sets have:
• Questions (queries),
Example: LETOR
• It helps check how well a system can rank search results (put best answers on top).
• It contains:
o Questions,
o Documents,
o Correct answers.
So we need:
Module 4 (INFORMATION RETRIEVAL)
• Long documents,
DUC
• These datasets are shared by universities and research groups to help build better tools.
This is a news article from 1988 about Hurricane Gilbert. It comes from a dataset used in
summarization research (DUC 2002). Researchers use these articles to test how well computer systems
can summarize long news into short, clear summaries.
• It was heading toward the Dominican Republic with strong winds (75 to 92 mph).
• The storm caused strong winds, rains, and flooding in Puerto Rico and nearby islands.
• Another storm, Hurricane Florence, was mentioned but had already become weaker.
This is a short version of the article. It keeps only the important facts, such as:
• The potential danger to Puerto Rico, the Virgin Islands, and the Dominican Republic.
Researchers give both the full article and this short summary to a machine (like a computer program).
Then they ask:
This section talks about how computers understand the correct meaning of words that have multiple
meanings. For example, the word “bank” can mean a financial institution or the side of a river.
• SEMCOR: A collection of texts where words are already labeled with their correct meanings
using a tool called WordNet.
• Open Mind Word Expert: A project where regular people help label word meanings online to
build a large dataset.
These resources help computers learn how to correctly understand words in different contexts.
This part discusses a project called EMILLE, created in the UK to support natural language processing
(NLP) in South Asian languages like Hindi, Bengali, Urdu, and others.
• The spoken data was recorded from BBC Asia radio programs.
Module 4 (INFORMATION RETRIEVAL)
• They also built translated texts, like government leaflets in English and other South Asian
languages, to help with building translation tools.
• Some of the data was labeled with grammar information (called "annotated").
The EMILLE data is free for research and is useful for developing tools like machine translation
systems and speech processing tools in South Asian languages.