You are not logged in.

#1 2011-01-27 17:14:26

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

[SOLVED] Urban Dictionary dsl to StarDict

Hey guys I'm trying to convert this apparently self-made Urban Dictionary dsl file to StarDict format but I run into the following problem:

% grep compdi ~/.bashrc
alias compdict='makedict -i dsl -o stardict'
% compdict *.dsl
Icon is found: Urban Dictionary (En-En).bmp
Reading: Urban Dictionary (En-En).ann
Saving result to this directory: ./stardict-Urban Dictionary
(En-En)-2.4.2
Writing index to ./stardict-Urban Dictionary (En-En)-2.4.2/Urban
Dictionary (En-En).idx
Writing data to ./stardict-Urban Dictionary (En-En)-2.4.2/Urban
Dictionary (En-En).dict
Invalid key, there are no </opt>: K: l&lt; or l<opt> or l{ or l&lt;=

which doesn't really tell me anything at all! It's like I have no idea whatsoever what to do with this. Perhaps you could help somehow?

I did check for <opt> tags left open but there seemed to be none. Then again this dsl file is ~1Gb large, pure ASCII data (!) so chances are I may have missed something neutral

Well thought I'd post it here and see if there are any people knowledgeable about this sort of stuff at all smile

Last edited by xCrucialDudex (2011-01-28 12:39:57)

Offline

#2 2011-01-28 12:39:34

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

Re: [SOLVED] Urban Dictionary dsl to StarDict

Well, thanks to a StarDict's developer tip I tackled this issue. In fact the file contained special ASCII symbols, probably due to Windows line ending, and so I had to remove them in order to compile the dictionary. Solved.

Offline

Board footer

Powered by FluxBB