3 ms·
can you also benchmark this script and see how it compares to watson: def analyzeFeeling(text) { if text contains "scared, worried and frightened" then fear
by supergirl 10y ago
can you also benchmark this script and see how it compares to watson:
def analyzeFeeling(text) {
if text contains "scared, worried and frightened" then fear = 0.7
if text contains "happy" then anger = 0.1
if text contains "confident" then confident = 0.8
if text contains "conscientious" then conscientiousness = 0.4
return (fear, confident, anger, conscientiousness)
}
- maxpupmax 10y agoWhy?
- rkuykendall-com 10y agoI think it's a joke that the analysis provided here by an incredibly complex cloud machine learning service doesn't seem very different from applying an incredibly naive bag of words.
- TeMPOraL 10y agoAs I discovered when writing an IRC bot that pretended to be human, you can go a really long way with a bunch of cleverly-written regular expressions...