[SOLVED] AIE314 Lab Exercise 1 -Very Simple Search Engine

29.99 $

Category: Tags: ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab1-wlbnrf.zip (658.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

 

In this lab exercise, you will create a very simple search engine using some text analysis and dictionary based approach.
a. Find how many
i. lines/sentences are there
ii. words are there
iii. characters are there (space character excluded)
b. Create a vocabulary (list of unique words) from the text.
c. List the words in the vocabulary along with their frequency (count).
2. Given five text files {f1.txt, f2.txt…..}.
a. Get an input search query from the user. List out files in descending order of similarity.
Hint: The dictionary/vocabulary approach implemented in Q1 can be used. One vocabulary for all text. Create a similarity measure, such as the number of words common, to get the search results.
Advanced Optional :
3. If two documents have same similarity counts use frequencies of each word too.
4. The out-of-vocabulary (words in search query not in the vocabulary) words should be handled.

21AIE314 AI in Natural Language Processing

  • Lab1-wlbnrf.zip