Use data structures and algorithm to implement search engine

Assignment Help JAVA Programming
Reference no: EM13317377

In this project, you will use the data structures and algorithms to implement a simple search engine. Your search engine will have the following functions:

String getPage(String url): gets the HTML document of the web page at URL

type getLinks(String page): collects and return all links (URLs) in the web page. You can design what will be the return type.

type addKeyword(): for each word on each page, add to a (keyword, URLs) list or dictionary, excluding articles, pronouns, and prepositions.

For example:

computer: https://www.bestbuy.com, https://www.dbu.edu/computers, ...

For the URLs in the keyword list, sort them by either the number of times the keyword appearing in the pages or the popularity of the pages.

searchKeyword(String keyword): returns a HTML document has links to the URLs which contain the keyword.

 

Attachment:- CUsersvini1010DesktopWebCrawler.rar

Reference no: EM13317377

Questions Cloud

Tariffs not only reduce the volume of imports : Tariffs not only reduce the volume of imports, they also reduce the volume of exports
How did the policies for manufacturers of automobiles : How did the policies for manufacturers of automobiles evolve? For example, what influences do the following organizations have on business owners, and what is their history?
What might be your three most important concerns : Many hackers claim to believe that "access to computers should be unlimited and total" and that "all information should be free." Do you agree with these statements? Why or why not?
Find the spacing of slit used in the experiment : If there are 5000 lines per cm are ruled on a diffraction grating instrument, Find the spacing of slit used in the experiment
Use data structures and algorithm to implement search engine : For the URLs in the keyword list, sort them by either the number of times the keyword appearing in the pages or the popularity of the pages.
Find the final velocity of the pair : A ball with mass 2.5 kg is moving in outer space with a velocity of 6.0 m/s horizontally, Find the final velocity of the pair
Write an academic report as per the format outlined : The advantages and disadvantages to an organisation of using Cloud Computing, for example, the potential to reduce costs, the risk of making the organisation's data more vulnerable to hacking.
What is the minimum spring constant : You are standing on a brigde that is 50.0 m above a dried up riverbed. what is the minimum spring constant that the bungee cord must have for you not to hit the riverbed
How the phase of the wave is affected : A transverse wave is travelling in a denser medium is incident on a rarer medium. How the phase of the wave is affected

Reviews

Write a Review

JAVA Programming Questions & Answers

  Technical community blog

Write a blog article for a coding and technical community blog.

  Compute area and perimeter of a polygon

Create a project that would let a user compute area and perimeter of a polygon

  Marketing necessary for practice-hospital to successful

Why is marketing necessary for a practice or hospital to be successful? What considerations should be taken into account when marketing health care services or products? (Hint think about all the medication ads you seen on tv or in magazines)

  Design java program to enter name in input dialog box

Design the program called MailingLabel.java Program must ask user to enter name and address in input dialog box with each component of address seperated by comma.

  Write java application to input three integers from user

Write Java application that inputs three integers from user and displays sum, average, product, smallest, and largest of the numbers.

  Implement an intrusion detection system in java

You are to implement an intrusion detection system in java. Calculate a threshold for detecting an intrusion. The threshold is 2*(Sums of weights).

  Calculates the product of the following sequence

Write a java code that calculates the product of the following sequence of numbers using for/loop and do/while/loop

  Develop a gui based java program

Designing and developing a College Registration program

  Trade-offs between quantity and quality of production

Are there inevitable trade-offs between quantity and quality of production and in what ways can job analysis and job redesign help manage there trade-offs?

  Working for hypothetical insurance company

Assume that you are working for hypothetical insurance company. This company offers insurance for 4 types of vehicles: cars, trucks, motor cycles and boats. In order to keep the program manageable, we will assume that we do not make a finer distin..

  Eclipse or netbeans environments

As recommendation, you can try to use Eclipse or NetBeans environments that are used also for other courses as: Introduction in Java programming and Intermediate programming.

  Write the bubble sort

The village of Marengo conducted a census and collected records that have household data, including the number of occupants in each household.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd