Terrible code to merge vocabularies