Question: 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: http://www.bestbuy.com, http://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. Edit
TutorTeddy.com & Boston Predictive Analytics
[ Email your Statistics or Math problems to email@example.com (camera phone photos are OK) ]
Boston Office (Near MIT/Kendall 'T'):
Cambridge Innovation Center,
One Broadway, 14th Floor,
Cambridge, MA 02142,
Dallas Office (Near Galleria):
15950 Dallas Parkway,
Dallas, TX 75248,