def get_works(self):
        """Returns a list of the names of all works in the corpus.

        :rtype: `list` of `str`

        """
        return [os.path.split(filepath)[1] for filepath in
                glob.glob(os.path.join(self._path, '*'))
                if os.path.isdir(filepath)]
def get_works ( self ) : return [ os . path . split ( filepath ) [ 1 ] for filepath in glob . glob ( os . path . join ( self . _path , '*' ) ) if os . path . isdir ( filepath ) ]
Returns a list of the names of all works in the corpus.

        :rtype: `list` of `str`