def render_word(self, text, tag, i):
y = self.offset_y + self.word_spacing<EOL>x = self.offset_x + i * self.distance<EOL>if self.direction == "<STR_LIT>":<EOL><INDENT>x = self.width - x<EOL><DEDENT>html_text = escape_html(text)<EOL>return TPL_DEP_WORDS.format(text=html_text, tag=tag, x=x, y=y)<EOL>
Render individual word.

        text (unicode): Word text.
        tag (unicode): Part-of-speech tag.
        i (int): Unique ID, typically word index.
        RETURNS (unicode): Rendered SVG markup.