spam-detector / samples /examples.json
Noor-Khan's picture
Upload examples.json
46783e9 verified
Raw History Blame Contribute Delete
1.27 kB
{
"examples": [
{
"text": "Congratulations! You have WON a FREE 1000 cash prize. Call 09001234567 now to claim your reward!",
"expected": "spam",
"lr_p_spam": 0.9578,
"lr_label": "spam",
"nb_p_spam": 1.0,
"nb_label": "spam"
},
{
"text": "Hey, are we still meeting for lunch tomorrow? Let me know what time works for you.",
"expected": "ham",
"lr_p_spam": 0.0273,
"lr_label": "ham",
"nb_p_spam": 0.0001,
"nb_label": "ham"
},
{
"text": "URGENT: Your account will be closed today unless you verify your details at http://bit.ly/verify-now",
"expected": "spam",
"lr_p_spam": 0.3056,
"lr_label": "ham",
"nb_p_spam": 0.5219,
"nb_label": "spam"
},
{
"text": "Ok lar, see you at 7. Bring the notes from class.",
"expected": "ham",
"lr_p_spam": 0.0349,
"lr_label": "ham",
"nb_p_spam": 0.0001,
"nb_label": "ham"
}
],
"edge_cases": [
{
"text": "",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
},
{
"text": "!!! ??? ...",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
},
{
"text": " ",
"lr_p_spam": 0.069,
"nb_p_spam": 0.1342
}
]
}