Skip to content

Commit 179b9f5

Browse files
Fix additional argument
1 parent feb2d25 commit 179b9f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chatbot/textdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def extractConversation(self, conversation):
436436
targetLine = conversation['lines'][i+1]
437437

438438
inputWords = self.extractText(inputLine['text'])
439-
targetWords = self.extractText(targetLine['text'], True)
439+
targetWords = self.extractText(targetLine['text'])
440440

441441
if inputWords and targetWords: # Filter wrong samples (if one of the list is empty)
442442
self.trainingSamples.append([inputWords, targetWords])

0 commit comments

Comments
 (0)