In this post, lets learn about custom made dictionary with python
Requirements: BeautifulSoup, urllib2 library
Vocabulary.com is excellent site, for improving vocabulary. But instead of browsing, if there is a way to grab required data, for a set of words, it is possible to make dictionary for our-self.
=> Each word has a short meaning and long meaning. Let click on the short meaning arena, thats just below the word.
=> Identify the class with which it is identified. Class with which short meaning is tagged with is “short”. Like wise identify class tag associated with long meaning.
=> Create text file, with required words,
=> Here is the code, run it
=> Output (custom made dictionary)
Note: This post is for only educational purpose.
Likewise data can be grabbed for a set of queries at a time, with simple codes in python.