Skip to content

Commit abef437

Browse files
authored
fix error
์‚ญ์ œํ•ด์•ผ ํ•˜๋Š” ์˜๋ฌธ ์ฝ”๋ฉ˜ํŠธ๊ฐ€ ์‚ญ์ œ๋˜์ง€ ์•Š์•„ ๋นŒ๋“œ ์ค‘ ํ™•์ธํ•œ ์˜ค๋ฅ˜๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
1 parent 4ed2ab7 commit abef437

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

โ€Žbeginner_source/chatbot_tutorial.py

Lines changed: 0 additions & 1 deletion
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)