Group Information Retrieval Practicals

Q1: Write a program to preprocess a text document by tokenizing it, removing stop words, and stemming the remaining words.

Q2: Implement retrieval of documents using an inverted file (inverted index). Build postings from a collection of documents and rank documents matching a user query.

Q3: Construct a simple Bayesian network using medical features and demonstrate heart-disease classification. The answer uses a small example dataset and Naive Bayes conditional probabilities. This educational example is not a medical diagnostic tool.

Q4: Implement e-mail spam filtering using a text classification algorithm and an appropriate labeled dataset. Report precision, recall, F1-score, and a confusion matrix.

Q5: Implement an agglomerative hierarchical clustering algorithm using an appropriate dataset. Visualize the dendrogram and report cluster assignments.

Q6: Implement the PageRank algorithm using Python or Beautiful Soup. Demonstrate the ranking on a directed web graph.

Q7: Build a web crawler to collect product information and links from an e-commerce website. Respect the website's terms, robots.txt, rate limits, and access controls; demonstrate with a site you own or have permission to crawl.

Download