Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reading Pleco user dictionaries #584

Open
huannv100 opened this issue Sep 14, 2024 · 4 comments
Open

Support reading Pleco user dictionaries #584

huannv100 opened this issue Sep 14, 2024 · 4 comments
Labels

Comments

@huannv100
Copy link

huannv100 commented Sep 14, 2024

Could Pleco user dictionaries be supported as well? I have found many good Chinese dictionaries that are not currently supported. It would be great to be able to convert them to Yomichan.
This is an example of some Pleco user dictionaries.
https://www.plecoforums.com/threads/new-chinese-radical-dictionaries.7310/#post-53071

@huannv100 huannv100 changed the title Could Pleco user dictionaries be supported as well? Add support for Pleco user dictionaries Sep 14, 2024
@ilius ilius changed the title Add support for Pleco user dictionaries Support reading Pleco user dictionaries (SQLite) Sep 14, 2024
@ilius ilius added the Feature label Sep 14, 2024
@ilius
Copy link
Owner

ilius commented Sep 15, 2024

Are you referring to the Radical Name Dictionary (RAN) file?
Is that a known or common format?
Where is the web page for the format itself?

@huannv100
Copy link
Author

huannv100 commented Sep 15, 2024

Hi,
The Radical Name Dictionary is one example of a Pleco user dictionary that I would like to convert for use in Pleco. The format is as follows:

<<Simplified>>[<<Traditional>>]<tab>pinyin<tab>definition<newline>.

I believe this is the standard format for all Pleco user dictionaries.

Here are some links that discuss Pleco user dictionaries. Mikelove and Shun, the creators of Pleco, have contributed to these discussions:
User dictionaries: creation, import, file format, etc.
Custom dictionary documentation

@ilius
Copy link
Owner

ilius commented Sep 16, 2024

The Radical Name Dictionary (RAN) file is a SQLite db, not plain text file.

Can you attach one glossary example you are referring to?
Try to open it with a text editor first.

@ilius ilius changed the title Support reading Pleco user dictionaries (SQLite) Support reading Pleco user dictionaries Sep 16, 2024
@huannv100
Copy link
Author

Hi,
Here is an example of "char_v1.0.txt" and "char_v1.0.pqb".
https://github.com/catusf/tudien/releases/tag/V2.6
When I import user dictionaries into Pleco, I can use both the .txt and .db files. If I import the .txt file, it will be converted into a .db file as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants