def LF_match_keywords(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (organic, figure) = args
    keywords = ['synthesis', 'reaction', 'produce', 'yield', 'formation', 'approach']
    return (1 if both_contain_keywords(organic, figure, keywords) else 0)
def LF_match_keywords(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (organic, figure) = args
    keywords = ['synthesis', 'reaction', 'produce', 'yield', 'formation', 'approach']
    return (1 if both_contain_keywords(organic, figure, keywords) else 0)