|
@@ -58,7 +58,7 @@ export class ReportModalComponent implements OnInit {
|
|
analyzeUserFeeling(content: string): { score: number; label: string } {
|
|
analyzeUserFeeling(content: string): { score: number; label: string } {
|
|
const moodScores = {
|
|
const moodScores = {
|
|
positive: {
|
|
positive: {
|
|
- words: ['开心', '高兴', '喜欢', '快乐', '棒', '兴奋', '满足', '美好','喜悦'],
|
|
|
|
|
|
+ words: ['开心', '高兴', '喜欢', '快乐', '棒', '兴奋', '满足', '美好'],
|
|
score: 1
|
|
score: 1
|
|
},
|
|
},
|
|
neutral: {
|
|
neutral: {
|
|
@@ -107,5 +107,5 @@ export class ReportModalComponent implements OnInit {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
- }
|
|
|
|
|
|
+}
|
|
}
|
|
}
|