Java/BlueJ / most of code I did

?Subject(s):Computer Science—Data Structures and AlgorithmsRequested Due Date: 05/02/14 4:42PM EDT
Student’s Time Zone: America/New_York GMT-04:00 (DST)
?You have to use JAVA/Blue J in this ?

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.
?

??Please use the code from the file I posted (WebCrawler.rar file).
I already did some of the work. I have attached that in this post. -> Please check attached file !
?

You can leave a response, or trackback from your own site.
error: Content is protected !!