Skip to content

Commit fa1bb25

Browse files
committed
2 parents 8935069 + 05bfb4e commit fa1bb25

File tree

2 files changed

+69
-78
lines changed

2 files changed

+69
-78
lines changed

โ€Žbeginner_source/chatbot_tutorial.py

-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ def filterPairs(pairs):
387387
return [pair for pair in pairs if filterPair(pair)]
388388

389389
# ์•ž์—์„œ ์ •์˜ํ•œ ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•˜์—ฌ ๋งŒ๋“  voc ๊ฐ์ฒด์™€ ๋ฆฌ์ŠคํŠธ pairs๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค
390-
Using the functions defined above, return a populated voc object and pairs list
391390
def loadPrepareData(corpus, corpus_name, datafile, save_dir):
392391
print("Start preparing training data ...")
393392
voc, pairs = readVocs(datafile, corpus_name)

0 commit comments

Comments
ย (0)