singnet / language-learning

OpenCog Unsupervised Language Learning
https://wiki.opencog.org/w/Language_learning
MIT License
31 stars 11 forks source link

Avoid printing empty lines in pre-cleaner #239

Closed glicerico closed 5 years ago

glicerico commented 5 years ago

As per issue #238 , pre-cleaner was printing empty lines when all characters were removed from the line. This fix avoids printing empty lines.

Test file was also updated