|
@@ -19,7 +19,7 @@ func DSL4SmartResponse(question string, entId string, msgType int, addr, index,
|
|
if len(hanlpCutWords) == 0 {
|
|
if len(hanlpCutWords) == 0 {
|
|
hanlpCutWords = append(hanlpCutWords, question)
|
|
hanlpCutWords = append(hanlpCutWords, question)
|
|
}
|
|
}
|
|
- question = strings.Join(hanlpCutWords, "")
|
|
|
|
|
|
+ question = strings.Join(hanlpCutWords, " ")
|
|
lenQuestion := len([]rune(question))
|
|
lenQuestion := len([]rune(question))
|
|
//logx.Info("lenQuestion", lenQuestion)
|
|
//logx.Info("lenQuestion", lenQuestion)
|
|
if lenQuestion >= 2 {
|
|
if lenQuestion >= 2 {
|