Skip to content

Instantly share code, notes, and snippets.

@LowriWilliams
Last active January 25, 2021 13:54
Show Gist options
  • Save LowriWilliams/f3a61495d93f7aa6862f4d23a3143fa4 to your computer and use it in GitHub Desktop.
Save LowriWilliams/f3a61495d93f7aa6862f4d23a3143fa4 to your computer and use it in GitHub Desktop.
wn/definitions.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"a member of the genus Canis (probably descended from the common wolf) that has been domesticated by man since prehistoric times; occurs in many breeds\n",
"\n",
"\n",
"move fast by using one's feet, with one foot off the ground at any given time\n"
]
}
],
"source": [
"print(wn.synset('dog.n.01').definition())\n",
"print(\"\\n\")\n",
"print(wn.synset('run.v.01').definition())"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment