Question about Keyword Mapping in Auto Tagger Config

Started by banzai, April 23, 2023, 04:22:01 PM

Previous topic - Next topic

banzai

Hi there,

I've started to use the Auto Tagger and when configuring, I hit a problem:
- I'm using the standard thesaurus provided by IMatch
- It has a Keyword "Birds" and some sub-Keywords ("Birds" is not marked as "Group Level")
- Auto Tagger retrieved Keyword "bird" from the AI and I wanted to create a mapping to "Birds"
- In the config dialog, only Sub-Keywords are displayed (e.g. Birds|Goose, etc.) when I type "Birds"
- But I can manually assign just "Birds" to the file
- Why can't I map the keyword "bird" to the "Birds" node in the thesaurus tree? Event when I manually type "Birds", it is not accepted. Am I missing something?

Thx in advance.

Ciao,   banzai

Mario

You cannot select into the "middle" of a keyword hierarchy. You can map to the leaf-level only (the bottom-most level).
But you should be able to just enter the word Bird and press <Enter> to add it as a mapping.
Note that this will not sit well with your thesaurus, since it is not a real hierarchical keyword. You should only ever assign (and map to) leaf-level keywords.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

banzai

Hm, I don't really understand that.
I manually assigned the keywords "Birds" to the file, and when I check the categorie "@Keywords|Birds", I see the file, inlcuding all files that have a specific Sub-Key of "Birds" assigned. That's what I want.
Could you elaborate a bit more on why only leaf keywords should be assigned?

I thought the node "Birds" does NOT have the "Group Level" flag for a reason, being that I can use it when assigning keywords.
And when I can assign something manually, I would expect that I can also use it in an automated process (Auto Tagger), otherwise it's just inconsistent.

Btw: manually creating the mapping by just typing the Keyword did not work for me, I tried "Birds" and "Animals & Pets|Birds". The mapping was always empty afterwards.

Ciao,   banzai


Mario

QuoteCould you elaborate a bit more on why only leaf keywords should be assigned?
If you assign keywords both to a parent level (Birds) and child levels (Birds|Dove) what you see in @Keywords will misleading, since parent categories by design always count and include the files assigned to child categories, recursively.

The idea of using hierarchical keywords follows along. Usually you don't assign files to "Beach" and "Beach|Daytona". You can, when you have to, though.

QuoteI thought the node "Birds" does NOT have the "Group Level" flag for a reason
Birds is not part of the default thesaurus shipped with IMatch (if I'm not mistaken) so you made it that way.
The group level only controls whether or not a keyword becomes part of the keyword added to a file.
If you assign the keyword Dove to a file, you either get:

Birds|Dove
Dove

Either one is "right", depending on your preferences.


QuoteBtw: manually creating the mapping by just typing the Keyword did not work for me, I tried "Birds" and "Animals & Pets|Birds". The mapping was always empty afterwards.
Hm, works here. Strange.
I just entered Birds and pressed <Return> and clicked the Done button.
The keyword Birds is now a mapping for bird.

Image1.jpg

Maybe try again?
Entering keywords not from the thesaurus requires an explicit Done press maybe.
It is not usual and not recommended to mess up the controlled vocabulary you maintain in the thesaurus by adding random keywords via AutoTagger.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

banzai

QuoteIf you assign keywords both to a parent level (Birds) and child levels (Birds|Dove) what you see in @Keywords will misleading, since parent categories by design always count and include the files assigned to child categories, recursively.
But isn't that a good thing? When I click on "Birds" I want to see all birds, including the doves, but also the pictures where I have no idea what bird exactly it is and which therefore only has the keyword "Birds". As long as any image that might have both levels assigned isn't shown twice (and that's ofc not happening), I'm fine with that.

QuoteBirds is not part of the default thesaurus shipped with IMatch (if I'm not mistaken) so you made it that way.
No, at the time of my first post the thesaurus was the pure original that came with Imatch. But doesn't matter, ofc I could have already messed with it.

Quote
QuoteBtw: manually creating the mapping by just typing the Keyword did not work for me, I tried "Birds" and "Animals & Pets|Birds". The mapping was always empty afterwards.
Hm, works here. Strange.
With the help of your description, I found my problem: I didn't press enter, just typed then clicked "Done". With pressing Enter first, it also works for me, thanks.

QuoteIt is not usual and not recommended to mess up the controlled vocabulary you maintain in the thesaurus by adding random keywords via AutoTagger.
Oh, I'm not doing that. I only add new keywords from AutoTagger when I think they make sense for me.

All in all I'm happy now, things work how I want them to work :)

Thanks for your support.

Ciao,    banzai