@property<EOL><INDENT>def available_languages(self):<DEDENT>
available_languages = getattr(self, '<STR_LIT>', None)<EOL>if available_languages:<EOL><INDENT>return available_languages<EOL><DEDENT>try:<EOL><INDENT>languages = os.listdir(self.data_directory)<EOL><DEDENT>except OSError:<EOL><INDENT>raise StopWordError(<EOL>"<STR_LIT>")<EOL><DEDENT>languages = sorted(map(lambda x: x.replace('<STR_LIT>', '<STR_LIT>'), languages))<EOL>setattr(self, '<STR_LIT>', languages)<EOL>return languages<EOL>
Returns a list of languages providing collection of stop words.