检测消息是要继续对话还是开始新对话

Detect if message is intended to continue a conversation or start a new one

这更像是一个理解问题,而不是代码问题。

我希望能够检测消息是对话的延续还是试图开始新对话(切换意图)。

上一个问题中应暗示意图的示例:

Q. How far away is the nearest Tesco?
A. 1 mile
Q. What about Sainsbury's?

应重新分类意图的示例:

Q. How far away is the nearest Tesco?
A. 1 mile
Q. What is the weather going to be like tomorrow?

谢谢

这个问题属于对话行为分类。最后我使用了 https://github.com/cgpotts/swda 并训练了一个分类器来做到这一点。

:)