code: def _get_singlekws(skw_matches, spires=False):
      
      output = {}
      for single_keyword, info in skw_matches:
          output[single_keyword.output(spires)] = len(info[0])
      output = [{'keyword': key, 'number': value}
                for key, value in output.iteritems()]
      return sorted(output, key=lambda x: x['number'], reverse=True)
docs: Get single keywords.
  
      :var skw_matches: dict of {keyword: [info,...]}
      :keyword spires: bool, to get the spires output
      :return: list of formatted keywords