'Translates the position into words'

def _translate_position(self, root, ipos):

    rootnames = {'red': 'The    |rreddish|n    vertical-hanging    root    ', 'blue': 'The    thick    vertical    root    with    |bblue|n    flowers    ', 'yellow': 'The    thin    horizontal-hanging    root    with    |yyellow|n    flowers    ', 'green': 'The    weedy    |ggreen|n    horizontal    root    '}
    vpos = {(-1): 'hangs    far    to    the    |wleft|n    on    the    wall.', 0: 'hangs    straight    down    the    |wmiddle|n    of    the    wall.', 1: 'hangs    far    to    the    |wright|n    of    the    wall.'}
    hpos = {(-1): 'covers    the    |wupper|n    part    of    the    wall.', 0: 'passes    right    over    the    |wmiddle|n    of    the    wall.', 1: 'nearly    touches    the    floor,    near    the    |wbottom|n    of    the    wall.'}
    if (root in ('yellow', 'green')):
        string = (rootnames[root] + hpos[ipos])
    else:
        string = (rootnames[root] + vpos[ipos])
    return string
