From fba3c93879e3201db2517f6b0b0d7e4a72f2a7f7 Mon Sep 17 00:00:00 2001 From: xulouzhe <43928179+xulouzhe@users.noreply.github.com> Date: Sun, 15 Dec 2019 19:35:26 +0800 Subject: [PATCH] Update nl-processor.md --- docs/guide/nl-processor.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guide/nl-processor.md b/docs/guide/nl-processor.md index 625aa452..9339c0bb 100644 --- a/docs/guide/nl-processor.md +++ b/docs/guide/nl-processor.md @@ -203,6 +203,7 @@ async def _(session: NLPSession): if word.flag == 'ns': # ns 词性表示地名 city = word.word + break # 返回意图命令,前两个参数必填,分别表示置信度和意图命令名 return IntentCommand(90.0, 'weather', current_arg=city or '')