'Gets an attribute of this sentence.'

def __getattr__(self, name):

    if (name in self.ALLOWED_ATTRIBUTES):
        return self._sentenceData.get(name, None)
    else:
        className = self.__class__.__name__
        msg = ('%s    sentences    have    no    %s    attributes' % (className, name))
        raise AttributeError(msg)
