def nice_keys(keywords):
    """
      joins coumpound keyphrases, if needed
    """
    for w in keywords:
        if isinstance(w, tuple):
            yield ' '.join(w)
        else:
            yield w
