Last active
January 25, 2021 13:58
-
-
Save LowriWilliams/c52f453f4a98448dea3a945c125f7aae to your computer and use it in GitHub Desktop.
wn/examples.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 28, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"['the dog barked all night']\n", | |
"\n", | |
"\n", | |
"[\"Don't run--you'll be out of breath\", 'The children ran to the store']\n" | |
] | |
} | |
], | |
"source": [ | |
"print(wn.synset('dog.n.01').examples())\n", | |
"print(\"\\n\")\n", | |
"print(wn.synset('run.v.01').examples())" | |
] | |
} | |
], | |
"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