ufal / neuralmonkey

An open-source tool for sequence learning in NLP built on TensorFlow.
BSD 3-Clause "New" or "Revised" License
410 stars 104 forks source link

fix issue #782 #783

Closed varisd closed 5 years ago

varisd commented 5 years ago

Issue #782 showed that there were some problems with edge cases (empty sentences, etc.). This PR solves these issues test_chrf.py is also included to automatically test desired behaviour