def LF_pos_near(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (organic, figure) = args
    return (1 if org_pos_near_fig(organic, figure) else 0)
def LF_pos_near(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (organic, figure) = args
    return (1 if org_pos_near_fig(organic, figure) else 0)