Skip to content

Rule Template: Tag Disambiguation

cinnamon-rolls edited this page Jul 14, 2021 · 1 revision

Rule Template: Tag Disambiguation

A "Tag Disambiguation" is when a specific tag falls out of favor and should be replaced with other, 'better' tags.

For example, a tag named foobar became too vague, and all files tagged as foobar should be replaced with foo, bar, or baz.

Key Value
bad_tag One or more "bad tags" that should be replaced
alternatives The tags that will replace the bad tag(s)

Example

Some Hydrus users found the kaga tag in circulation which is/was being used for character:kaga (azur lane) and character:kaga (kantai collection) at the same time. This rule definition will prompt the user to replace the kaga tag with one of the better tags.

{
  "template": "tag disambiguation",
  "bad_tag": ["kaga", "character:kaga"],
  "alternatives": [
    "character:kaga (azur lane)",
    "character:kaga (kantai collection)"
  ]
}