俚语搜索命令行工具

最近在看资料时碰到一些英语俚语,常规字典里有时候会找不到它的意思,刚好发现一个网站,里面收录了俚语词典,为了方便我写了个查询的命令行工具,非常简陋,不过能用就行 :joy: ,后面如果有时间应该会慢慢加功能上去吧。Github 地址
运行效果如下

(idiomdict) F:\Git\Idiomdict>python idiomdict.py cherry pick
[Definition]
To choose something very carefully to ensure that the best option is chosen, perhaps through means that provide one
an unfair advantage or from a selection that others do not have ready access to. I can't believe he left the company
and then cherry-picked the best employee in my department! Yes, you will get to cherry-pick all the equipment that
goes into your studio.
[Illustration]
I can't believe he left the company and then cherry-picked the best employee in my department!Yes, you will get to
cherry-pick all the equipment that goes into your studio.

[Definition]
slang In sports such as basketball and soccer (football), to position oneself away from the current play on one's
opponent's defensive end for an opportunity to receive the ball and score an easy basket or goal.
[Illustration]
We might not have gotten scored on if you had actually been playing defense instead of cherry-picking!

[Definition]
Fig. to choose something very carefully. (As if one were closely examining cherries on the tree, looking for the best.)
[Illustration]
We have to cherry-pick the lumber we want to use for the cabinetry. Nothing but the best will do.

本文章首发在 PythonCaff

多少事,从来急。天地转,光阴迫。

欢迎点赞评论还有分享☭☭☭