New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

stardict 2 goldendict

All about dictionaries

stardict 2 goldendict

Postby The waiter » Sun Jun 19, 2011 12:51 pm

I have Lingea lexicon dictionary for stardict. I had to use python script to get all data from original two lingea files. Then I got ccs style tab file and I had to use stardict editor to convert it to idx, ifo and dict files. Then I started to use GoldenDict. GD understand Lingea files from stardict but the format is wrong. It just takes all data for one keyword and puts it in one single line.
My question is: how to simply convert file with ccs format tags to dsl file with html format tags?
Thak you for quick answer
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: stardict 2 goldendict

Postby ikm » Tue Jun 21, 2011 4:14 am

What does the 'sametypesequence' field in the .ifo file equal to?
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: stardict 2 goldendict

Postby The waiter » Tue Jun 21, 2011 7:18 pm

it equals g. I changed it according to manual from m to g.
But my problem has been solved by myself. I had to modified python source file and replace all <span ... tags to dsl format tags and make some more improvements via MS Word.
Now it works great.
However, thanx for your attention.
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: stardict 2 goldendict

Postby ikm » Wed Jun 22, 2011 2:11 am

'g' entries are not supported. The StarDict documentation states that 'g' is for:
A utf-8 string which is marked up with the Pango text markup language.

Use html ('h') instead.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: stardict 2 goldendict

Postby The waiter » Wed Jun 22, 2011 12:17 pm

No no, it did not help...
The waiter
 
Posts: 53
Joined: Sat Jun 18, 2011 9:26 pm

Re: stardict 2 goldendict

Postby nicoursi » Sat Feb 14, 2015 8:44 pm

Could you please share your work? I would be interested to either have your modified version of python or the converted dictionaries. Let me know. you con send me a pm if you like
nicoursi
 
Posts: 3
Joined: Sat Feb 14, 2015 3:17 pm


Return to Dictionaries

Who is online

Users browsing this forum: No registered users and 18 guests