def setProperty(self, name, value):
if name == '<STR_LIT>':<EOL><INDENT>v = filter(lambda v: v.id == value, self._config['<STR_LIT>'])<EOL>self._config['<STR_LIT>'] = v[<NUM_LIT:0>]<EOL><DEDENT>elif name == '<STR_LIT>':<EOL><INDENT>self._config['<STR_LIT>'] = value<EOL><DEDENT>elif name == '<STR_LIT>':<EOL><INDENT>self._config['<STR_LIT>'] = value<EOL><DEDENT>else:<EOL><INDENT>raise KeyError('<STR_LIT>' % name)<EOL><DEDENT>
Sets one of the supported property values of the speech engine listed
above. If a value is invalid, attempts to clip it / coerce so it is
valid before giving up and firing an exception.

@param name: Property name
@type name: str
@param value: Property value
@type value: object
@raise KeyError: When the property name is unknown
@raise ValueError: When the value cannot be coerced to fit the property