docs: def corpusindex():
          """Get list of pre-installed corpora"""
          corpora = []
          for f in glob.glob(settings.ROOT + "corpora/*"):
              if os.path.isdir(f):
                  corpora.append(os.path.basename(f))
          return corpora