def id2word(self, xs):
if isinstance(xs, list):<EOL><INDENT>return [self._id2word[x] for x in xs]<EOL><DEDENT>return self._id2word[xs]<EOL>
Map id(s) to word(s)

        Parameters
        ----------
        xs : int
            id or a list of ids

        Returns
        -------
        str or list
            word or a list of words