playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_gene_lf.py
def LF_CG_WEAK_BINDING(c):
    """
    This label function is designed to look for phrases
    that could imply a compound binding to a gene/protein
    """
    if re.search(ltp(weak_binding_indications), get_text_between(c), flags=re.I):
        return 1
    else:
        return 0

    This label function is designed to look for phrases
    that could imply a compound binding to a gene/protein
    
This label function is designed to look for phrases
that could imply a compound binding to a gene/protein
This label function is designed to look for phrases that could imply a compound binding to a gene / protein
def LF_CG_WEAK_BINDING(c):
    if re.search(ltp(weak_binding_indications), get_text_between(c), flags=re.I):
        return 1
    else:
        return 0
def LF_CG_WEAK_BINDING ( c ) : if re . search ( ltp ( weak_binding_indications ) , get_text_between ( c ) , flags = re . I ) : return 1 else : return 0
This label function is designed to look for phrases
that could imply a compound binding to a gene/protein
This label function is designed to look for phrases that could imply a compound binding to a gene / protein
"""
    This label function is designed to look for phrases
    that could imply a compound binding to a gene/protein
    """
c