def _translate_relative(inp):
    """
    Get relative and keyness from two-character input
    """
    if not inp:
        return False, False
    mapping = dict(t=True, f=False, n='corpus', l='ll', p='pd')
    return mapping[inp[0]], mapping[inp[1]]
