On 09/04/2013 02:03 AM, Roumano wrote:

Hi!

> I have understand why it's not working well :
>
> 1) the tagxtag database contains the possibly-related tags.

Yep.

> As all hierarchical tag contains the same "root" tags, we have a
> potentiel link between "Photographie|Friend|Dave"&  "Photographie|
> Animal|Cat' the sql result contains all tags...

This is something like what I expected to happen.

I wasn't sure, however, how this should be fixed properly. In a 
hierarchical world one might suggest that

if I type C

A|B|C|D

is closer than

A|B|E|F

even though A|B is the same as C is a direct child of those. One could 
argue for this, that D as a real subset to C is closer related than a 
same level entity. (Depends on the definition of "distance" used, could 
be the other way round as well.) Depending on the tree my feeling tells 
me that this could get complex if you have the same tag maybe on various 
levels. Homonyms are prone to this, but also stuff where you have X 
literally compared to X as an abstract subject.

Probably, one should split the hierarchical tags for the counting? I.e. 
not handle A|B|C|D as the entity, but use A, B, C, D as 4 entities 
getting a related count? So, in this case A<->B get +1, same as A<->C 
and A<->D and the permutations?

Anyway, I'm not much in this relevance ranking stuff. Probably, someone 
in the know here?

Depending on the use case, to my experience, relevance ranking can be 
quite ugly as it is just not relevant what the math calculates, as long 
as the number of entries is small. (E.g. related books works for "the 
other big river" due to their large sellings, but it gives really poor 
results e.g. in library catalogues at scientific libraries.) We also 
changed ordering from relevancy to "alphabetically" recently in another 
project as the users just didn't understand the ordering scheme.

> Can be found on the opened bug :
>       http://www.darktable.org/redmine/issues/9088

I'll give it a try :) Thanks :)

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to