Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将多行文本输入发送到对话服务,因为我想要检查输入是正音还是负音的响应。
方法一:您可以创建两个实体,一个为正,一个为负。用正面和负面的陈述填充每个值。
确保捕捉到诸如不、是、更糟、确定、悲伤、快乐等词。你的集合越大,答案越好。
我不确定这种方法是否捕获双重否定。IBM 声称在幕后运行自然语言分类器,这将为您提供看不见的样本的积极结果。
方法 2:您可以将 watson个性洞察与对话相结合,以对每个输入进行直接的情绪分析。