playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_gene_lf.py
def LF_CG_ASE_SUFFIX(c):
    """
    This label function is designed to look parts of the gene tags
    that implies a sort of "ase" or enzyme
    """
    if re.search(r"ase\b", c[1].get_span(), flags=re.I):
        return 1
    else:
        return 0

    This label function is designed to look parts of the gene tags
    that implies a sort of "ase" or enzyme
    
This label function is designed to look parts of the gene tags
that implies a sort of "ase" or enzyme
This label function is designed to look parts of the gene tags that implies a sort of " ase " or enzyme
def LF_CG_ASE_SUFFIX(c):
    if re.search(r"ase\b", c[1].get_span(), flags=re.I):
        return 1
    else:
        return 0
def LF_CG_ASE_SUFFIX ( c ) : if re . search ( r"ase\b" , c [ 1 ] . get_span ( ) , flags = re . I ) : return 1 else : return 0
This label function is designed to look parts of the gene tags
that implies a sort of "ase" or enzyme
This label function is designed to look parts of the gene tags that implies a sort of " ase " or enzyme
"""
    This label function is designed to look parts of the gene tags
    that implies a sort of "ase" or enzyme
    """
c