Pyvoc – A Command line Dictionary And Vocabulary Constructing Instrument
Howdy! I’ve a excellent news for non-native English audio system. Now, you’ll be able to enhance your English vocabulary and discover the which means of English phrases, proper out of your Terminal. Say hiya to Pyvoc, a cross-platform, open supply, command line dictionary and vocabulary constructing device written in Python programming language. Utilizing this device, you’ll be able to brush up some English phrases meanings, check or enhance your vocabulary ability or just use it as a CLI dictionary on Unix-like working techniques.
Putting in Pyvoc
Since Pyvoc is written utilizing Python language, you’ll be able to set up it utilizing Pip3 bundle supervisor.
$ pip3 set up pyvoc
As soon as put in, run the next command to mechanically create obligatory configuration information in your $HOME listing.
$ pyvoc phrase
Pattern output:
|Creating obligatory config information
/getting api keys. please deal with with care!
|
phrase
Noun: single significant component of speech or writing
instance: I do not just like the phrase ‘unofficial’
Verb: categorical one thing spoken or written
instance: he phrases his request in a very ironic approach
Interjection: used to precise settlement or affirmation
instance: Phrase, that is a very good report, man
Finished! Allow us to go forward and brush the English expertise.
Use Pyvoc as a command line Dictionary device
Pyvoc fetches the phrase which means from Oxford Dictionary API.
Allow us to say, you need to discover the which means of a phrase ‘digression’. To take action, run:
$ pyvoc digression
Discover a phrase which means utilizing Pyvoc
See? Pyvoc not solely shows the which means of phrase ‘digression’, but in addition an instance sentence which reveals how one can use that phrase in sensible.
Allow us to see an one other instance.
$ pyvoc subterfuge
|
subterfuge
Noun: deceit used in an effort to obtain one’s aim
instance: he had to make use of subterfuge and bluff on many events
It additionally reveals the phrase lessons as effectively. As you already know, English has 4 main phrase lessons:
Nouns,
Verbs,
Adjectives,
Adverbs.
Check out the next instance.
$ pyvoc welcome
/
welcome
Noun: occasion or method of greeting somebody
instance: you’ll obtain a heat welcome
Interjection: used to greet somebody in well mannered or pleasant approach
instance: welcome to the Wildlife Park
Verb: greet somebody arriving in well mannered or pleasant approach
instance: accommodations ought to welcome friends in their very own language
Adjective: gladly obtained
instance: I am happy to see you, lad—you are welcome
As you see within the above output, the phrase ‘welcome’ can be utilized as a verb, noun, adjective and interjection. Pyvoc has given instance for every class.
For those who misspell a phrase, it would inform you to test the spelling of the given phrase.
$ pyvoc wlecome
No definition discovered. Please test the spelling!!
Helpful, isn’t it?
Create vocabulary teams
A vocabulary group is nothing however a set phrases added by the person. You possibly can later revise or take quiz from these teams. 100 teams of 60 phrases are reserved for the person.
So as to add a phrase (E.g sporadic) to a bunch, simply run:
$ pyvoc sporadic -a
–
sporadic
Adjective: occurring at irregular intervals or solely in few locations
instance: sporadic combating broke out
writing to vocabulary group…
phrase added to group quantity 51
As you’ll be able to see, I didn’t present any group quantity and pyvoc displayed the which means of given phrase and mechanically added that phrase to group quantity 51. For those who don’t present the group quantity, Pyvoc will incrementally add phrases to teams 51-100.
Pyvoc additionally lets you specify a bunch quantity if you wish to. You possibly can specify a bunch from 1-50 utilizing -g possibility. For instance, I’m going so as to add a phrase to Vocabulary group 20 utilizing the next command.
$ pyvoc discrete -a -g 20
/
discrete
Adjective: individually separate and distinct
instance: speech sounds are produced as a steady sound sign reasonably
than discrete items
creating group Quantity 20…
writing to vocabulary group…
phrase added to group quantity 20
See? The above command shows the which means of ‘discrete’ phrase and provides it to the vocabulary group 20. If the group doesn’t exists, Pyvoc will create it and add the phrase.
By default, Pyvoc consists of three predefined vocabulary teams (101, 102, and 103). These customized teams has 800 phrases of every. All phrases in these teams are taken from GRE and SAT preparation web sites.
To view the user-generated teams, merely run:
$ pyvoc phrase -l
–
phrase
Noun: single significant component of speech or writing
instance: I do not just like the phrase ‘unofficial’
Verb: categorical one thing spoken or written
instance: he phrases his request in a very ironic approach
Interjection: used to precise settlement or affirmation
instance: Phrase, that is a very good report, man
USER GROUPS
Group no. No. of phrases
20 1
DEFAULT GROUP
Group no. No. of phrases
51 1
As you see, I’ve created one group (20) together with the default group (51).
Take a look at and enhance English vocabulary
As I already stated, you should use the Vocabulary teams to revise or take quiz from them.
As an example, to revise the group no. 101, use -r possibility like beneath.
$ pyvoc 101 -r
Now you can revise the which means of all phrases within the Vocabulary group 101 in random order. Simply hit ENTER to undergo subsequent questions. As soon as accomplished, hit CTRL+C to exit.
Revise Vocabulary group
Additionally, you are taking quiz from the prevailing teams to brush up your vocabulary. To take action, use -q possibility like beneath.
$ pyvoc 103 -q 50
This command lets you take quiz of 50 questions from vocabulary group 103. Select the proper reply from the checklist by coming into the suitable quantity. You’re going to get 1 level for each right reply. The extra you rating the extra your vocabulary ability will probably be.
Take quiz utilizing Pyvoc
Pyvoc is within the early-development stage. I hope the developer will enhance it and add extra options within the days to return.
As a non-native English speaker, I personally discover it helpful to check and study new phrase meanings in my free time. For those who’re a heavy command line person and wished to shortly test the which means of a phrase, Pyvoc is the appropriate device. You can even check your English Vocabulary at your free time to memorize and enhance your English language ability. Give it a strive. You gained’t be dissatisfied.
And, that’s all for now. Hope this was helpful. Extra good stuffs to return. Keep tuned!
Cheers!
Useful resource:
Thanks for stopping by!
Assist us that can assist you:
Have a Good day!!