Write an app/program to scan through a given webpage, and display a single consolidated top 10 frequent words and the top 10 frequent word pairs (two words in the same order) along with their frequency. In case the webpage contains hyperlinks, these hyperlinked urls need to be expanded and the words on these pages also should be scanned to come up with the frequent words. Important points to note: • You will have to assume that the maximum number of levels you have to expand for urls within a url as 4

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question

Solution in Java please.. optimized solution..

Problem Statement
Write an app/program to scan through a given webpage, and display a single consolidated top 10 frequent words and the top 10 frequent word pairs (two
words in the same order) along with their frequency. In case the webpage contains hyperlinks, these hyperlinked urls need to be expanded and the words
on these pages also should be scanned to come up with the frequent words.
Important points to note:
• You will have to assume that the maximum number of levels you have to expand for urls within a url as 4
Ignore any external url links
Transcribed Image Text:Problem Statement Write an app/program to scan through a given webpage, and display a single consolidated top 10 frequent words and the top 10 frequent word pairs (two words in the same order) along with their frequency. In case the webpage contains hyperlinks, these hyperlinked urls need to be expanded and the words on these pages also should be scanned to come up with the frequent words. Important points to note: • You will have to assume that the maximum number of levels you have to expand for urls within a url as 4 Ignore any external url links
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Top down approach design
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage