Skip to content

Commit e625927

Browse files
committed
change data
1 parent ad8f236 commit e625927

File tree

4 files changed

+302
-229
lines changed

4 files changed

+302
-229
lines changed

models/match/dssm/data/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
word_dict = {}
2828
for line in lines:
2929
line = line.strip().split("\t")
30-
text = line[0].strip("") + line[1].strip("")
30+
text = line[0].strip("") + " " + line[1].strip("")
3131
text = jieba.cut(text)
3232
for word in text:
3333
if word in word_dict:

0 commit comments

Comments
 (0)