Closed lpla closed 3 years ago
It's strange, the changelog says that keyword arguments still work and fix_entities
appears in the documentation, this error should not happen ?
Anyway, despite the argument being disappeared, it still fixes the entities because all the options are True by default. So, omitting the parameter results in the same behaviour than before. Latest commit should fix the issue.
Running Bifixer through Bitextor automatic tests, shown that it won't work using last month releases of ftfy >=6.0. This is the error:
Seems like
ftfy
modified the heuristics, so the arguments for fix_text_segment call. Then,fix_entities
does not work unless using version 5.9 offtfy
(as forced in https://github.com/bitextor/bifixer/commit/931ba2bc1509921a2a36fb5b8691b0aa5f3577c7).Proper solution should be using new
ftfy
calls in Bifixer for a future-proof fix, in case of an urgent version bump for security reasons, for example.