playground/compound_disease/transfer_learning_experiment/data/label_functions/disease_gene_lf.py
def LF_DG_METHOD_DESC(c):
    """
    This label function is designed to look for phrases 
    that imply a sentence is description an experimental design
    """
    if re.search(ltp(method_indication), get_tagged_text(c), flags=re.I):
        return -1
    else:
        return 0

    This label function is designed to look for phrases 
    that imply a sentence is description an experimental design
    
This label function is designed to look for phrases
that imply a sentence is description an experimental design
This label function is designed to look for phrases that imply a sentence is description an experimental design
def LF_DG_METHOD_DESC(c):
    if re.search(ltp(method_indication), get_tagged_text(c), flags=re.I):
        return -1
    else:
        return 0
def LF_DG_METHOD_DESC ( c ) : if re . search ( ltp ( method_indication ) , get_tagged_text ( c ) , flags = re . I ) : return - 1 else : return 0
This label function is designed to look for phrases
that imply a sentence is description an experimental design
This label function is designed to look for phrases that imply a sentence is description an experimental design
"""
    This label function is designed to look for phrases 
    that imply a sentence is description an experimental design
    """
c