Skip to content

This script counts the frequency of words in a web page.

Notifications You must be signed in to change notification settings

ramashelke/Web-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Web-Counter

The script defines a function run() with 5 parameters: a link to webpage and four words w1, w2, w3, w4.

  • f1, f2, f3, f4 are the frequencies of w1,w2,w3,w4 in the webpage.

  • The run() function returns a set of all the words in the webpage that have a higher frequency than the lowest value among f1,f2,f3,f4 and a lower frequency than the highest value among f1,f2,f3,f4.

  • If one of the 4 words does not appear in the webpage, it assumes that its frequency is equal to zero.

About

This script counts the frequency of words in a web page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages