def word(self, position):
if <NUM_LIT:0> <= position < len(self.wordlist):<EOL><INDENT>return self.wordlist[position]<EOL><DEDENT>else:<EOL><INDENT>log.warn('<STR_LIT>'.format(position, len(self.wordlist)))<EOL>raise IndexError()<EOL><DEDENT>
Returns the word instance at the given position in the sentence, None if not found.