NNDIAL icon indicating copy to clipboard operation
NNDIAL copied to clipboard

Possible bug in DataReader.py when loading vocab from dialogues

Open garygsw opened this issue 5 years ago • 0 comments

Hi, I would like to clarify if this is a bug.

https://github.com/shawnwun/NNDIAL/blob/740f6d34594bcdd889080ce60c95384bda7594a2/loader/DataReader.py#L876-L880

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.

garygsw avatar Sep 04 '18 02:09 garygsw