#can't import dictionaries into yomitan
235 messages · Page 1 of 1 (latest)
No, I have plenty of storage but I can try reinstalling
Actually when I was messing with it last night I tried using yomitan on Chrome and brave browser
And had the same dictionaries produce the same error while importing so I don't think reinstalling will work
which dictionaries in specific?
did you download from the google drive folder at the top or from the direct links
for some of the dictionaries if you download them directly you need to unzip it first
for the google drive they should be good out of the gate
I remember some were from the drive and then when those didn't work I went to the direct links
But I'll have to check which specifically when I get home
uhhh make an issue on the yomitan github that's weird
specify os, browser, files, etc
[Monolingual] 三省堂国語辞典 第八版 (Recommended), [Monolingual, Encyclopedia] Pixiv, [Freq] JPDB (Recommended), Freq.JPDB_2022-05-10T03_27_02.930Z, and Freq_CC100
were the ones I couldn't import
Those are the same dictionaries peshti who had the same bug couldn't import:
#1194991266014969937 message
huh so it's not just me
i don't really ever use github. how do i make an issue?
oh i need an account
the only thing that comes to mind is that both [Freq] CC100 and [Freq] JPDB only have 1 "big" >10mb term_meta_bank_1.json
whereas other frequency dictionaries like the [Freq] BCCWJ-LUW are separated into 10+ small term_meta_bank_N.json files
feel free to ignore this remark if you believe its irrelevant to the current problem
Sorry desktop is currently exploding
So this might be completely irrelevant
Alright it's alive again
can you try editing the term_meta_bank_1 in your CC100?
only keep the words till 10k frequency
I did get bccwj to import
yes bcwwj has no problem
How
extract cc100.zip
and replace the content of the term meta bank by what i sent and save (i just kept the first few entires)
then in your cc100 folder, select the 2 json files, right click on one of them, send to compressed folder, then try to import to yomitan
It was just a brick wall of text
Oh and just paste in what you sent
Alright
This is just to test the theory right?
I shouldn't actually use this dictionary after doing this
ye
its just the first 10k words atm
import it to yomitan
we can always delete the dictionary its not a problem
alright that worked
in the little preview yeah
ok lets try with more words
it's showing yomu as 162
seems to be working
type 禿 and try to scan it
btw the only freq dictionary i've used before was innocent corpus
do these work the other way around
as in lower number is more common for these?
162 for yomu means 162th most common word in the language
small number = super common
ok so that's the opposite of innocent corpus
umm i can't seem to scan text unless i'm doing it wrong
but i can scan subtitles from asbplayer
not showing up
not that?
same with bccwj
at least not for the hage reading which i assume is what you want
oh yeah that reading shows up
but idk if i've heard that before
hage i've heard a bunch
idk that word either, its just the last word in the file i sent you xd
lol
to see if all words are covered
same thing
if nothing works you'll still have cc100 for the most 40k common words so thats still nice
shows up in bccwj but not cc100
oh i thought that last message was you telling me to scan nicaragua lol
so you want me to repeat what i already did with the json but with this text file now
and then try scanning hage again
give me a sec
yes but did it work with the 2nd file i sent
when you did that
i didnt understand if cc100 worked or not
did you import the cc100 dictionary
yeah after editing the json file
there was no error?
i tried using the second text file you sent and it errored out
so i went back to the first text file so i could scan hage
the first out of the 3 right
yeah
so the first one works but the second gives you "unknown error" while importing it?
oh wait i didn't even see the second one
the third one errored out
and it was not an unknown error
it was something like some term wasn't recognized
let me try it again
yes and send a screenshot of the error
oh thats my fault
anyway try with this:
#1196658690216968332 message
forgot a bracket or something
i forgot i could have just sent you the zip folder
does cc100 work on yomu?
just replace the current json with this one?
yes
its the full one actually
but do delete and replace it like we did earlier
i was thinking it could be a compression problem
got unknown error on that one
so maybe the size is the problem
half of the full dictionary
up to 80k
or maybe the problem is some weird character somewhere in the dictionary it bugs on
@lunar badge
it's importing
wait it didnt work for me neither
we prob need a real entry in another dictionary
lemme try another word
@lunar badge try 立県
👀
btw for freq dictionaries you leave the priority as 0 right?
or does it not matter
i have them set at 0
it imported
ok
thanks for all the help
i can't believe i didn't recognize that one
didnt do the core 1 million? smh
i used that word to mine hiza
coincidentally
well then the problem must be within the last 40k words of the dictionary
and thats only for the cc100
not the other dictionaries
this or theres a weird character it doesnt like
maybe some rare kanji or idk
but those are just random guesses i know nothing of yomitan's code
also how is it that nobody told me i could yomichan words within yomichan
nah happened to see it just now while going through the settings
alas
but i asked about it a while back
the struggles of not reading
and depending on the kindness of strangers
@hearty shuttle
KangaJoo and I have been testing various things with the [Freq] CC100
If we only take 3/4th of the dictionary, i.e the words up to 121824 frequency, he can import the dictionary and use it just fine, but he can't import the full one with words up to 160k frequency.
Maybe it's size issue, or there's a weird character somewhere in the last quarter of the dictionary that causes this "unknown error", or maybe something else I don't know.
do you have really low ram or something?
the import code is apparently unoptimized
but it shouldn't be an issue if you have like
4gb at least
maybe even 2
for frequency dicts
but yeah i have no idea
best make an issue on github and the smart people can diagnose
yeah and do report that deleting the last quarter of cc100 dictionary makes it importable for some reason
I have 16 GB iirc
This is a gaming desktop
Granted I built it ages ago but ram usage hasn't really gone up that much for games
wack
also can you open the console and screenshow whatever errors it throws while importing
ah just "unknown error" huh rip
thanks for sending the video
I'll make an issue later with this info
oh wait
this is brave browser or something?
can you try chrome
ah you already did
damn
yeah i actually started the process on chrome cause i heard it generally works better with yomitan and asbplayer
i have it set up on both right now