code: def list_keywords(self):
          ''' Return the list of keywords '''
          names = []
          try:
              for n in self.cur.execute("SELECT keyword FROM keyword;").fetchall():
                  # Strip out leading and trailing whitespaces (can be artifacts of old data)
                  k = n[0].strip()
                  if len(k):
                      names.extend([k])
          except:
              self.error("ERROR: cannot find database table 'keyword'")
          names = list(set(names)) # remove duplicates
          names = sorted(names, key=lambda s: s.lower())
          return(namesf list_keywords(self):
          ''' Return the list of keywords '''
          names = []
          try:
              for n in self.cur.execute("SELECT keyword FROM keyword;").fetchall():
                  # Strip out leading and trailing whitespaces (can be artifacts of old data)
                  k = n[0].strip()
                  if len(k):
                      names.extend([k])
          except:
              self.error("ERROR: cannot find database table 'keyword'")
          names = list(set(names)) # remove duplicates
          names = sorted(names, key=lambda s: s.lower())
          return(names)
docs: Return the list of keywords