pyglossary
pyglossary copied to clipboard
Read SlovoEd .sdc format
Would be nice to have support for SlovoEd in pyglossary.
However be careful because the company that develops dictionaries has a patent on this format and they may take the whole repository down if you post it here, even as open source.
To bypass this, push plugin somewhere else as another user and post the link here, in this issue
Thanks for the info.
I'm not a legal expert, but there are countless patents related to closed formats, so we can't worry too much about them. I doubt they will take repo down without any notice.
I just don't spend a lot of time on new formats, so I wouldn't get my hopes high on this.
You want to read from SlovoEd files, correct?
Yes, only read.
Sorry, I don't think I'm gonna be able to do this any time soon.
Sorry, I don't think I'm gonna be able to do this any time soon.
Format found here: https://github.com/Paragon-Software-Group/paragon_slovoed_ce
@useretail - any chance to get this right into PyGlossary?
@useretail - any chance to get this right into PyGlossary?
since the code is in C++, it has to be ported to Python
This seems to be the main source file (SDC.h), but it has a lot of dependencies. And most of comments are in Russian which I don't understand (I'm translating them with Google Translate...). Converting all this to Python will take a lot of time. Compiling/binding this C++ package into a Python module and using it would be easier, but then we need to create and upload binary packages for all major operating systems (Windows, Mac, Linux) which is a pain (I'm only a little familiar with GCC on Linux, and I have no Mac OS)
Compiling/binding this C++ package into a Python module and using it would be easier
Sounds good. I wouldn't worry too much about how to provide it to others. At this stage, the best might be to just check how well that would work on the OS of your choice.
I translated the SDC.h file to English Saeed:
https://drive.google.com/open?id=1k1x2u6E2v75cppLBiq5FORkYuJLYoacu
Please have a look