'This module returns a list of characters from  the Perl Unicode Properties.
They are very useful when porting Perl tokenizers to Python.
>>> from nltk.corpus import perluniprops as pup
>>> pup.chars(\'Open_Punctuation\')[:5] == [u\'(\', u\'[\', u\'{\', u\'\u0f3a\', u\'\u0f3c\']
True
>>> pup.chars(\'Currency_Symbol\')[:5] == [u\'$\', u\'¢\', u\'£\', u\'€\', u\'¥\']
True
>>> pup.available_categories
[\'Close_Punctuation\', \'Currency_Symbol\', \'IsAlnum\', \'IsAlpha\', \'IsLower\', \'IsN\', \'IsSc\', \'IsSo\', \'Open_Punctuation\']
:return: a list of characters given the specific unicode character category'

def chars(self, category=None, fileids=None):

    if (category in self.available_categories):
        fileids = [(category + '.txt')]
    return list(self.raw(fileids).strip())
