'This module returns a list of nonbreaking prefixes for the specified
language(s).
>>> from nltk.corpus import nonbreaking_prefixes as nbp
>>> nbp.words(\'en\')[:10] == [u\'A\', u\'B\', u\'C\', u\'D\', u\'E\', u\'F\', u\'G\', u\'H\', u\'I\', u\'J\']
True
>>> nbp.words(\'ta\')[:5] == [u\'\u0b85\', u\'\u0b86\', u\'\u0b87\', u\'\u0b88\', u\'\u0b89\']
True
:return: a list words for the specified language(s).'

def words(self, lang=None, fileids=None, ignore_lines_startswith='#'):

    if (lang in self.available_langs):
        lang = self.available_langs[lang]
        fileids = [('nonbreaking_prefix.' + lang)]
    return [line for line in line_tokenize(self.raw(fileids)) if (not line.startswith(ignore_lines_startswith))]
