/wikipedia-frequency-lookup

Simple script written in Python to get the 20 words with highest frequency in an English Wikipedia article

Primary LanguagePythonMIT LicenseMIT

Wikipedia Frequency Lookup

Simple script written in Python to get the 20 words and their frequency percentage with highest frequency in an English Wikipedia article. You enter your string and using Wikipedia Search API, you get the top 20 words

Built this, so that I could implement my basic learning somewhere and play around with some libraries 📚 .

  python main.py <your-string>

If you want to remove the stop words (such as "and", "the", "a", "an", and similar words) from frequency table, simply add a yes after your string.

  python main.py <your-string> yes

screenshot

screenshot