Closed fruitports closed 3 months ago
Looks like the yomitan version in the Mozilla Add-ons Browser is 23.12.29.0 and the dictionary format used here requires 24.01.20.0.
currently as of 10/3/2024 Yomitan (development build) 24.2.26.0, 3 dictionaries remain affected by this error: macmillan with ipa, new oxford and yzkwEn
The "yzk" dictionaries are obsoleted by this repo. The other two you mentioned need two fixes:
[
...
"", // remove
[] // remove
]
How do I run these scripts for these dicts (sorry, I am not a programmer, just a power user of these things, best thing I have done so far was just editing 4 to 3)
On Sun, Mar 10, 2024, 22:43 StefanVukovic99 @.***> wrote:
The "yzk" dictionaries are obsoleted by this repo. The other two you mentioned need two fixes:
- v3 to v4 in index.json https://github.com/themoeway/kaikki-to-yomitan/issues/10#issuecomment-1969991181
- have a script remove the last two fields in every entry. I added these to yezichak's v4 to hold deinflection information (though they weren't required), but that's done differently now in yomitan's v3 format.
[..."", // remove [] // remove ]
— Reply to this email directly, view it on GitHub https://github.com/themoeway/kaikki-to-yomitan/issues/9#issuecomment-1987273063, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFD2IHY5A4QCL5FY7CZAXLYXR5Q7AVCNFSM6AAAAABCYLFBXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGI3TGMBWGM . You are receiving this because you commented.Message ID: @.***>
I've added a v4 to v3 tool.
You paste a v4 zip in the same directory and run node v4-to-v3.js DICTNAME.zip
Maybe it's worth cutting a new release with the fixed dictionary files?
The dictionaries in the release should all work (and they replace the old yzk- dicts). Unfortunately there are a few older (and possibly proprietary) dicts that are in circulation, and the v4 to v3 stuff is for those few cases.
I've been trying to import kty-es-en.zip and see the Error: Dictionary has invalid data in 'term_bank_10.json'
.
Closing since there should be no more of these errors on the new stable releases.
Trying to import kty-id-en.zip into Yomitan on Kiwi Browser or PC Firefox returns "Error: Dictionary has invalid data in 'term_bank_1.json'"
kty-pt-en.zip - "Error: Dictionary has invalid data in 'term_bank_10.json'"
I also tried to import kty-id-en-ipa.zip and kty-fr-de.zip and found no errors.