MachineVisionUiB / machinevision

We are developing a database to map and interpret the representations and uses of machine vision technologies in digital art, computer games and narratives such as science fiction novels, movies and creepypasta.
http://uib.no/en/machinevision
4 stars 0 forks source link

Find a way to merge duplicated terms #142

Closed steinmb closed 2 years ago

steinmb commented 3 years ago

In terms we have taxonomy terms that is the same, just spelled differently.

Motivation

Manually changing these are labour intensive and error prone.

Suggested solution

TBD

steinmb commented 3 years ago

@jilltxt - There is https://www.drupal.org/project/term_merge but it is still i a early alpha stage.

I gave the module issue queue a little stir to see if the maintainers respond. I do not have high expectations. The current alpha is a year old.

I think the best solution is rolling our own solution for this.

Example

Node 1 -> Term A
Node 2 -> Term B
Node 3 -> Term C
Node 4 -> Term C, Term B

Lets say term C is the one we decide to keep. The end result should be:

Node 1 -> Term C
Node 2 -> Term C
Node 3 -> Term C
Node 3 -> Term C
jilltxt commented 3 years ago

@steinmb I think there is actually a bug in Drupal - or an unfortunate feature. If a free tag is entered twice in one entry, and it's never been entered before, then two SEPARATE taxonomy items are created for the new tag. At least when it's entered in two separate paragraphs in the same entry.

jilltxt commented 2 years ago

I think we can close this - we don't need to solve it.