It seems your Data.py does not take the training file as given in the sighan dataset. If you can provide a sample file of the training and testing files to match your program's input output requirements, it will be helpful to convert the the sighan dataset to the required format.
It seems your Data.py does not take the training file as given in the
sighandataset. If you can provide a sample file of the training and testing files to match your program's input output requirements, it will be helpful to convert the thesighandataset to the required format.