Page 1 of 2

too many headwords for ONE card?

PostPosted: Wed Aug 15, 2012 10:53 am
by viarm
Question:
-Couldn't look up the word 'make'....etc. Anybody here could tell me why? thanks.
GD Version: GoldenDict 1.0.1-271-geaa62e6 / GoldenDict 1.0.1-239-gc81e6ca
Example DSL:

Re: too many headwords for ONE card?

PostPosted: Wed Aug 15, 2012 11:08 am
by viarm
another sample DSL.
Result: 36-85 cannot be searched out.

Re: too many headwords for ONE card?

PostPosted: Mon Sep 03, 2012 1:08 pm
by Abs62
The headwords number for DSL dictionaries now is limited by 32 headwords per one article.

Re: too many headwords for ONE card?

PostPosted: Thu Sep 06, 2012 3:37 pm
by bradm
Abs62 wrote:The headwords number for DSL dictionaries now is limited by 32 headwords per one article.


Hi,
Is this DSL limitation GD PC desktop specific? Is it for the sake of indexing/search speed?
On some rare occasions, 32 seems to be a frustratingly low number.
If I'm not mistaken, the mobile version of GD works well with a fair (unlimited ?) amount of DSL headwords.
Anyway, I enjoy working with earlyaccess builds, thanks.

Re: too many headwords for ONE card?

PostPosted: Fri Sep 07, 2012 10:13 pm
by Abs62
bradm wrote:Is it for the sake of indexing/search speed?

To prevent exponential increasing number of headwords when expanding headword optional parts.
Now limit changed from 32 headwords per article to 32 headwords per one headword with optional parts.

Re: too many headwords for ONE card?

PostPosted: Mon Sep 24, 2012 3:25 pm
by chulai
This is now working: I can search 'make' and '36' to '85'.
Thanks!

Re: too many headwords for ONE card?

PostPosted: Wed Sep 26, 2012 2:19 pm
by bradm
Abs62 wrote:
bradm wrote:Is it for the sake of indexing/search speed?

To prevent exponential increasing number of headwords when expanding headword optional parts.
Now limit changed from 32 headwords per article to 32 headwords per one headword with optional parts.

Thanks rather belatedly, Abs62, for your prompt answer!

chulai wrote:This is now working: I can search 'make' and '36' to '85'.
Thanks!

It's really good news to be able to search for all the superabundance of synonyms in DSL files!

Abs62 wrote:... when expanding headword optional parts.

Still, I can't figure out the meaning of the new feature in the 313 EA build "Show/hide optional parts of articles (DSL dictionaries only)". Is it possible to see an example of it –- if it isn't too bothersome for you? Thanks.

Re: too many headwords for ONE card?

PostPosted: Wed Sep 26, 2012 3:03 pm
by Abs62
bradm wrote:Still, I can't figure out the meaning of the new feature in the 313 EA build "Show/hide optional parts of articles (DSL dictionaries only)". Is it possible to see an example of it –- if it isn't too bothersome for you? Thanks.

This option allow to hide article parts marked in dictionary as optional and expand it by button clicking. See pictures.
Optional part hided:
Image
Optional part expanded:
Image

Re: too many headwords for ONE card?

PostPosted: Wed Sep 26, 2012 7:53 pm
by bradm
Abs62 wrote:This option allow to hide article parts marked in dictionary as optional and expand it by button clicking. See pictures.

Thanks for your links.
However, I can't see any option to hide/expand, as there is no coding in my dsl file. I am curious how it should be coded...
Thanks for your time.

abesinska macka.png
abesinska macka.png (148.5 KiB) Viewed 17217 times


cat code.png
cat code.png (31.46 KiB) Viewed 17217 times

Re: too many headwords for ONE card?

PostPosted: Wed Sep 26, 2012 8:15 pm
by Abs62
bradm wrote:However, I can't see any option to hide/expand, as there is no coding in my dsl file. I am curious how it should be coded...

[*]...[/*] - tags for optional zones in DSL.
Did you turn off "Expand optional parts" option on "Advanced" tab in preferences?