Closed GoogleCodeExporter closed 9 years ago
請給出輸入方案的代碼。
Original comment by chen....@gmail.com
on 25 Jul 2014 at 7:05
這是 schema
需要 dict 嗎?
Original comment by LMao20001
on 25 Jul 2014 at 12:16
Attachments:
這是由1.2版本把空格記入 recognizer
可匹配的字符。目的是可以匹配包含空格的模式,如 "input
method"。
結果發現允許匹配空格不太有用,因爲沒法用空格確認了。��
�以我考慮要放棄這項修改。
若不修改程序,可以在輸入方案裏修復:把
recognizer/patterns/{email, url} 裏面用 "."
匹配任意字符的地方改爲用 “[^ ]" 匹配非空格字符。
Original comment by chen....@gmail.com
on 25 Jul 2014 at 7:21
感謝回答
目前先將 "." 改成 "[^ ]"
就沒有問題了
Original comment by LMao20001
on 26 Jul 2014 at 2:22
增加一個選項 recognizer/use_space:
默認設爲 false 吧。
Original comment by chen....@gmail.com
on 26 Jul 2014 at 4:16
Original issue reported on code.google.com by
LMao20001
on 25 Jul 2014 at 4:07