Determine if a Text Is Prose or Poetry
Gather examples of Shakespearean poetry and prose to train a classifier.
| In[1]:= | X |
Train a classifier to distinguish poetry from prose.
| In[2]:= | X |
| Out[2]= |
Test the classifier on Shakespearean prose not in the training set.
| In[3]:= | ![]() X |
| Out[3]= |
Test the classifier on Shakespearean poetry not in the training set.
| In[4]:= | ![]() X |
| Out[4]= |

