forked from s151636/Generic_DialogSystem
add punctuation removing
This commit is contained in:
commit
c68c78522b
@ -42,6 +42,7 @@ for i in utterance:
|
||||
if i in punctuation:
|
||||
utterance = utterance.replace(i, "")
|
||||
|
||||
|
||||
matched = book_grammar.find_matching_rules(utterance)
|
||||
|
||||
print(matched)
|
||||
|
Loading…
Reference in New Issue
Block a user