Skip to content

Commit

Permalink
fix example notebook cell
Browse files Browse the repository at this point in the history
  • Loading branch information
bvreede committed Jan 5, 2024
1 parent 278eb64 commit 54d1a45
Showing 1 changed file with 46 additions and 34 deletions.
80 changes: 46 additions & 34 deletions docs/notebooks/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 58,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -68,16 +68,16 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 59,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<sktalk.corpus.conversation.Conversation at 0x1177612d0>"
"<sktalk.corpus.conversation.Conversation at 0x110783e20>"
]
},
"execution_count": 25,
"execution_count": 59,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -97,7 +97,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 60,
"metadata": {},
"outputs": [
{
Expand All @@ -115,7 +115,7 @@
" Utterance(utterance=\"ah that's the second on is itʔ\", participant='S', time=[17014, 18611], begin=17014, begin_timestamp='00:00:17.014', end=18611, end_timestamp='00:00:18.611', utterance_raw=\"+≋ ah: that's the second on is itʔ\", utterance_list=['ah', \"that's\", 'the', 'second', 'on', 'is', 'itʔ'], n_words=7, n_characters=24, FTO=None, metadata=None)]"
]
},
"execution_count": 26,
"execution_count": 60,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -126,7 +126,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 61,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -160,7 +160,7 @@
" 'Media': '01, audio'}"
]
},
"execution_count": 27,
"execution_count": 61,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -178,7 +178,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 62,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -211,7 +211,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 63,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -243,16 +243,16 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 78,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<sktalk.corpus.conversation.Conversation at 0x117707af0>"
"<sktalk.corpus.conversation.Conversation at 0x108abca30>"
]
},
"execution_count": 30,
"execution_count": 78,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -274,7 +274,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 65,
"metadata": {},
"outputs": [
{
Expand All @@ -286,7 +286,7 @@
" 'spreker2 [v] (TIE2)'}"
]
},
"execution_count": 31,
"execution_count": 65,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -304,11 +304,23 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 66,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(855 - 1692) spreker1 [v] (TIE0): 'oké'\n",
"(1692 - 2145) spreker1 [v] (TIE0): 'ja'\n",
"(11067 - 11683) spreker1 [v] (TIE0): 'ja ja'\n",
"(18386 - 18944) spreker1 [v] (TIE0): 'ja ja'\n",
"(21240 - 23285) spreker1 [v] (TIE0): 'moet je de proefpersonen moet je die uh'\n"
]
}
],
"source": [
"griffith01.summary(participant = 'spreker1 [v] (TIE0)', n = 5)"
"ifadv03.summary(participant = 'spreker1 [v] (TIE0)', n = 5)"
]
},
{
Expand All @@ -320,7 +332,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 67,
"metadata": {},
"outputs": [
{
Expand All @@ -329,7 +341,7 @@
"{'spreker1 [v] (TIE0)', 'spreker2 [v] (TIE2)'}"
]
},
"execution_count": 33,
"execution_count": 67,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -350,7 +362,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 68,
"metadata": {},
"outputs": [
{
Expand All @@ -359,7 +371,7 @@
"{'spreker1 [v] (TIE0)', 'spreker2 [v] (TIE2)'}"
]
},
"execution_count": 34,
"execution_count": 68,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -383,7 +395,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 69,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -417,7 +429,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 70,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -463,7 +475,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 71,
"metadata": {},
"outputs": [
{
Expand All @@ -472,7 +484,7 @@
"{'window': 10000, 'planning_buffer': 200, 'n_participants': 2}"
]
},
"execution_count": 37,
"execution_count": 71,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -495,7 +507,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 72,
"metadata": {},
"outputs": [
{
Expand All @@ -505,7 +517,7 @@
" 'url': 'https://ca.talkbank.org/data-orig/GCSAusE/'}"
]
},
"execution_count": 38,
"execution_count": 72,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -526,16 +538,16 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 73,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<sktalk.corpus.conversation.Conversation at 0x1177612d0>]"
"[<sktalk.corpus.conversation.Conversation at 0x110783e20>]"
]
},
"execution_count": 39,
"execution_count": 73,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -561,7 +573,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 74,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -590,7 +602,7 @@
},
{
"cell_type": "code",
"execution_count": 41,
"execution_count": 75,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -613,7 +625,7 @@
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": 76,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit 54d1a45

Please sign in to comment.