Hi, I would like to clarify if this is a bug.
|
# user side |
|
words = self.delexicalise(turn['usr']['transcript']).split() |
|
mwords,words,_,_,_ = self.extractSeq(turn['sys']['sent'],\ |
|
type='source',index=False) |
|
ivocab.extend(mwords) |
Should the extractSeq method in line 878 be called on turn['usr']['transcript'] instead?
The words variable in line 877 is totally ignored, and replaced by the return values of extractSeq in line 878.
Hi, I would like to clarify if this is a bug.
NNDIAL/loader/DataReader.py
Lines 876 to 880 in 740f6d3
Should the
extractSeqmethod in line878be called onturn['usr']['transcript']instead?The
wordsvariable in line877is totally ignored, and replaced by the return values ofextractSeqin line878.