pyglossary icon indicating copy to clipboard operation
pyglossary copied to clipboard

Read SlovoEd .sdc format

Open useretail opened this issue 4 years ago • 10 comments

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

useretail avatar Sep 20 '19 21:09 useretail

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.

ilius avatar Sep 21 '19 19:09 ilius

You want to read from SlovoEd files, correct?

ilius avatar Sep 21 '19 19:09 ilius

Yes, only read.

useretail avatar Sep 21 '19 21:09 useretail

Sorry, I don't think I'm gonna be able to do this any time soon.

ilius avatar Oct 23 '20 11:10 ilius

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 avatar Oct 23 '20 11:10 useretail

@useretail - any chance to get this right into PyGlossary?

godfatherjohn avatar Oct 29 '20 15:10 godfatherjohn

@useretail - any chance to get this right into PyGlossary?

since the code is in C++, it has to be ported to Python

useretail avatar Nov 06 '20 11:11 useretail

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)

ilius avatar Dec 10 '21 07:12 ilius

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.

godfatherjohn avatar Feb 15 '22 04:02 godfatherjohn

I translated the SDC.h file to English Saeed:

https://drive.google.com/open?id=1k1x2u6E2v75cppLBiq5FORkYuJLYoacu

Please have a look

sobaee avatar Dec 05 '23 16:12 sobaee