Pergunta de entrevista da empresa LinkedIn

3. Implement a hive udf - for the given string return a score based on the sentiment words found. (good: 1; average: 0; bad: -1) Ex. good food, bad service = 1 - 1 = 0