Closed nonodesu closed 6 years ago
More info:
oh I think I managed to find a way to detect this error
in the resulting json, normal entries end with \n where anomalies end with something else
and I've found tons of other examples
上がる, 上げる, 味, ...
I see what this is... I was making the assumption that 10KB would be enough for any definition... the glossary for する proved me wrong. Should be a simple fix.
Binaries have been updated on foosoft.net
I've just tested and yomichan import still includes old binaries of zero-epwing. (But if I manually replace the binaries it works fine.)
Ah yeah, I need to update yomichan-import bundled version of zero-epwing!
The dictionary in question: 研究社 新和英大辞典 第5版 The entry: する6 (do; perform; ...) When it's parsed by zero-epwing it gets cut at
することなすこと皆うまく行かなかった. Everything I did went wrong. | I fail
while the entry in EBWin continuesIt manifests in the entry being cut when imported using yomichan import. Also I know someone who is making a Discord bot using zero-epwing and has the same issue, and that's where we've actually discovered it.
I assume zero-epwing just can't handle entries this big, but maybe there's some other issue.
I don't know if there are more entries like this, this is just an example where zero-epwing breaks.