Author Topic: Splitting caption into keywords  (Read 1647 times)

Offline filrub

  • Newcomer
  • *
  • Posts: 38
    • View Profile
    • www.fotorubin.com
Splitting caption into keywords
« on: January 04, 2019, 09:24:41 AM »
Is there a way to split iptc caption in keywords?

For example: I caption the pic this way: Lebron James scores 30 points in the match Knicks vs Lakers.
I'd like to automatically have keywords field this way: lebron, james, scores, points, match, knicks, lakers

Is it possible?

PS: sorry, I don't know so much about nba :D

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: Splitting caption into keywords
« Reply #1 on: January 04, 2019, 10:37:18 AM »
Is there a way to split iptc caption in keywords?

For example: I caption the pic this way: Lebron James scores 30 points in the match Knicks vs Lakers.
I'd like to automatically have keywords field this way: lebron, james, scores, points, match, knicks, lakers

Is it possible?

PS: sorry, I don't know so much about nba :D

No, but even if there was a way to split words from {caption}, it would split all words and some extra words would be produced (30, in, the, vs) that you wouldn't want.

-Kirk

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Splitting caption into keywords
« Reply #2 on: January 05, 2019, 12:19:21 AM »
Like Kirk said, this isn't possible with PM, but it could be achieved using the command-line tool exiftool.  If you want, I can help with the necessary commands for that.
« Last Edit: January 05, 2019, 12:24:43 AM by Hayo Baan »
Hayo Baan - Photography
Web: www.hayobaan.nl