Skip to content

Commit

Permalink
updated spacy and FrameNet notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dcavar committed Mar 28, 2024
1 parent 13222e9 commit 4dfed61
Show file tree
Hide file tree
Showing 2 changed files with 213 additions and 202 deletions.
86 changes: 43 additions & 43 deletions notebooks/FrameNet Examples using NLTK.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[nltk_data] Downloading package framenet_v17 to\n",
"[nltk_data] C:\\Users\\damir\\AppData\\Roaming\\nltk_data...\n",
"[nltk_data] /home/damir/nltk_data...\n",
"[nltk_data] Package framenet_v17 is already up-to-date!\n"
]
},
Expand All @@ -106,7 +106,7 @@
"True"
]
},
"execution_count": 5,
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -132,7 +132,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -148,7 +148,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand All @@ -157,7 +157,7 @@
"1221"
]
},
"execution_count": 7,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -175,7 +175,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -184,7 +184,7 @@
"[<frame ID=239 name=Medical_conditions>, <frame ID=257 name=Medical_instruments>, ...]"
]
},
"execution_count": 8,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -202,7 +202,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -218,7 +218,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -227,7 +227,7 @@
"256"
]
},
"execution_count": 10,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -245,7 +245,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -254,7 +254,7 @@
"'Medical_specialties'"
]
},
"execution_count": 11,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -272,7 +272,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -300,7 +300,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand All @@ -309,7 +309,7 @@
"29"
]
},
"execution_count": 14,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -327,7 +327,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand All @@ -336,7 +336,7 @@
"['Affliction', 'Body_system', 'Specialty', 'Type']"
]
},
"execution_count": 15,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -354,7 +354,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand All @@ -363,7 +363,7 @@
"[<Parent=Medical_interaction_scenario -- Using -> Child=Medical_specialties>]"
]
},
"execution_count": 16,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -388,7 +388,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand All @@ -397,7 +397,7 @@
"13572"
]
},
"execution_count": 17,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -415,7 +415,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand All @@ -424,7 +424,7 @@
"[<lu ID=14744 name=a little bit.adv>, <lu ID=14743 name=a little.adv>, ...]"
]
},
"execution_count": 18,
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -442,7 +442,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -458,7 +458,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -467,7 +467,7 @@
"'a little bit.adv'"
]
},
"execution_count": 22,
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -502,7 +502,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand All @@ -511,7 +511,7 @@
"'FN: to a small degree'"
]
},
"execution_count": 23,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -529,7 +529,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand All @@ -538,7 +538,7 @@
"'Degree'"
]
},
"execution_count": 24,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -549,7 +549,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -584,7 +584,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand All @@ -593,7 +593,7 @@
"'a'"
]
},
"execution_count": 29,
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -604,7 +604,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 20,
"metadata": {},
"outputs": [
{
Expand All @@ -613,7 +613,7 @@
"'ART'"
]
},
"execution_count": 30,
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -638,7 +638,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 21,
"metadata": {},
"outputs": [
{
Expand All @@ -647,7 +647,7 @@
"107"
]
},
"execution_count": 31,
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -666,7 +666,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 22,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1967,7 +1967,7 @@
"[1284] Time ran out .\n"
]
},
"execution_count": 32,
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -18189,7 +18189,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 23,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -19491,7 +19491,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 24,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -29604,7 +29604,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.11.6"
},
"toc": {
"base_numbering": 1,
Expand Down
Loading

0 comments on commit 4dfed61

Please sign in to comment.