… with every character having an alias of "", and so the handling in BookParser.init was setting self._aliases[""] = term.lower() - overwriting it each time. The last character to be processed would remain being the character who had an alias of "", and so we get a huge number of matches for this character and none for any other.
szarroug: this fixes the problem I had been seeing, where I could never end up with a properly parsed book. I suspect this was only broken in github version (perhaps 2.2), hence why most weren't seeing it.
… with every character having an alias of "", and so the handling in BookParser.init was setting self._aliases[""] = term.lower() - overwriting it each time. The last character to be processed would remain being the character who had an alias of "", and so we get a huge number of matches for this character and none for any other.
szarroug: this fixes the problem I had been seeing, where I could never end up with a properly parsed book. I suspect this was only broken in github version (perhaps 2.2), hence why most weren't seeing it.