Skip to content

Instantly share code, notes, and snippets.

@LowriWilliams
Created January 25, 2021 14:58
Show Gist options
  • Save LowriWilliams/3c043db2a65d346e8d918ce69b99cadf to your computer and use it in GitHub Desktop.
Save LowriWilliams/3c043db2a65d346e8d918ce69b99cadf to your computer and use it in GitHub Desktop.
wn/entailments.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 44,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[Synset('chew.v.01'), Synset('swallow.v.01')]\n"
]
}
],
"source": [
"print(wn.synset('eat.v.01').entailments())"
]
}
],
"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