playground/compound_disease/transfer_learning_experiment/data/label_functions/disease_gene_lf.py
def LF_DG_TITLE(c):
    """
    This label function is designed to look for phrases that inditcates
    a paper title
    """
    if re.search(r'^'+ltp(title_indication), get_tagged_text(c), flags=re.I):
        return -1
    elif re.search(ltp(title_indication)+r'$', get_tagged_text(c), flags=re.I):
        return -1
    else:
        return 0

    This label function is designed to look for phrases that inditcates
    a paper title
    
This label function is designed to look for phrases that inditcates
a paper title
This label function is designed to look for phrases that inditcates a paper title
def LF_DG_TITLE(c):
    if re.search(r'^'+ltp(title_indication), get_tagged_text(c), flags=re.I):
        return -1
    elif re.search(ltp(title_indication)+r'$', get_tagged_text(c), flags=re.I):
        return -1
    else:
        return 0
def LF_DG_TITLE ( c ) : if re . search ( r'^' + ltp ( title_indication ) , get_tagged_text ( c ) , flags = re . I ) : return - 1 elif re . search ( ltp ( title_indication ) + r'$' , get_tagged_text ( c ) , flags = re . I ) : return - 1 else : return 0
This label function is designed to look for phrases that inditcates
a paper title
This label function is designed to look for phrases that inditcates a paper title
"""
    This label function is designed to look for phrases that inditcates
    a paper title
    """
c