emanjavacas / pie

A fully-fledge PyTorch package for Morphological Analysis, tailored to morphologically rich and historical languages.
MIT License
22 stars 10 forks source link

(TabReader) Fixed an issue where the TabReader would throw exception … #47

Closed PonteIneptique closed 4 years ago

PonteIneptique commented 4 years ago

…on empty lines.

I had an issue with datasets where empty lines are used for breaking chunks, and potentially real errors would get in the whole set of errors. These if statements should clear the issue.

emanjavacas commented 4 years ago

Merging this