def synset(self, id, pos=ADJECTIVE):
id = str(id).zfill(<NUM_LIT:8>)<EOL>if not id.startswith(("<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")):<EOL><INDENT>if pos == NOUN:<EOL><INDENT>id = "<STR_LIT>" + id<EOL><DEDENT>if pos == VERB:<EOL><INDENT>id = "<STR_LIT>" + id<EOL><DEDENT>if pos == ADJECTIVE:<EOL><INDENT>id = "<STR_LIT>" + id<EOL><DEDENT>if pos == ADVERB:<EOL><INDENT>id = "<STR_LIT>" + id<EOL><DEDENT><DEDENT>if dict.__len__(self) == <NUM_LIT:0>:<EOL><INDENT>self.load()<EOL><DEDENT>try:<EOL><INDENT>return tuple(self._synsets[id])[:<NUM_LIT:2>]<EOL><DEDENT>except KeyError: <EOL><INDENT>return tuple(self._synsets.get(re.sub(r"<STR_LIT>", "<STR_LIT:->", id), (<NUM_LIT:0.0>, <NUM_LIT:0.0>))[:<NUM_LIT:2>])<EOL><DEDENT>
Returns a (polarity, subjectivity)-tuple for the given synset id.
            For example, the adjective "horrible" has id 193480 in WordNet:
            Sentiment.synset(193480, pos="JJ") => (-0.6, 1.0, 1.0).