docs: def wordlist2cognates(wordlist, source, expert='expert', ref='cogid'):
      """Turn a wordlist into a cognate set list, using the cldf parameters."""
      for k in wordlist:
          yield dict(
              Form_ID=wordlist[k, 'lid'],
              ID=k,
              Form=wordlist[k, 'ipa'],
              Cognateset_ID='{0}-{1}'.format(
                  slug(wordlist[k, 'concept']), wordlist[k, ref]),
              Cognate_Detection_Method=expert,
              Source=source)