Use There Was an Old Lady Who Swallowed a Fly to answer the questions, below. Note that the title of the song is a part of the corpus!
Did she swallow a fly?
Let’s say we want to know the likelihood that the old lady "swallowed a fly". We need a ratio!
1 p(fly | swallowed a) = $$\displaystyle \frac {\textit{count(swallowed a fly)}} {\textit{count(swallowed a…)}} = {\frac{}{10}}$$
2 The likelihood that the old lady "swallowed a fly" in the excerpt is .
What about the other animals?
Find the ratio representing the likelihood that she swallowed each of the other animals.
3 p(spider | swallowed a) = $$\displaystyle \frac {\textit{count(swallowed a spider)}} {\textit{count(swallowed a…)}} = {\frac{}{10}}$$
4 p(bird | swallowed a) = $$\displaystyle \frac {\textit{count(swallowed a bird)}} {\textit{count(swallowed a…)}} = {\frac{}{10}}$$
5 p(cat | swallowed a) = $$\displaystyle \frac {\textit{count(swallowed a cat)}} {\textit{count(swallowed a…)}} = {\frac{}{10}}$$
6 Across the entire poem, the lady most likely swallowed a .
7 The second most likely option is that she swallowed a .
8 There is an equal probability that she swallowed a or a .
To catch the… ?
Find the ratio representing the likelihood that she caught each of the animals.
9 p(fly | to catch the) = $$\displaystyle \frac {\textit{count(to catch the fly)}} {\textit{count(to catch the…)}} = {\frac{}{6}}$$
10 p(spider | to catch the) = $$\displaystyle \frac {\textit{count(to catch the spider)}} {\textit{count(to catch the…)}} = {\frac{}{6}}$$
11 p(bird | to catch the) = $$\displaystyle \frac {\textit{count(to catch the bird)}} {\textit{count(to catch the…)}} = {\frac{}{6}}$$
The lady was most likely trying to catch the . It is the least likely that she was trying to catch the .
The… ?
12 p(fly | the) = $$\displaystyle \frac{\qquad}{\qquad}$$ |
13 p(spider | the) = $$\displaystyle \frac{\qquad}{\qquad}$$ |
14 p(bird | the) = $$\displaystyle \frac{\qquad}{\qquad}$$ |
15 p(cat | the) = $$\displaystyle \frac{\qquad}{\qquad}$$ |
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927).
Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.