Add split_args decorator

This commit is contained in:
Richard Chien
2017-01-11 15:20:00 +08:00
parent 1040b600d6
commit 58a1352b19
4 changed files with 36 additions and 6 deletions

View File

@ -1,7 +1,8 @@
config = {
'fallback_command': 'natural_language.process',
'fallback_command_after_nl_processors': 'core.tuling123',
'command_start_flags': ('/', '', '来,', '来,'), # add '' (empty string) here to allow commands without start flags
'command_name_separators': ('\.', '->', '::', '/'), # Regex
'command_start_flags': ('/', '', '来,', '来,'), # Add '' (empty string) here to allow commands without start flags
'command_name_separators': ('->', '::', '/'), # Regex
'command_args_start_flags': ('', '', ',', ', ', ':', ': '), # Regex
'command_args_separators': ('', ','), # Regex
}