playground/compound_disease/transfer_learning_experiment/data/label_functions/disease_gene_lf.py
def LF_DG_PURPOSE(c):
    """"
    This label function searches for the word purpose at the beginning of the sentence.
    Some abstracts are written in this format.
    """
    return -1 if "PURPOSE:" in get_tagged_text(c) else 0

    This label function searches for the word purpose at the beginning of the sentence.
    Some abstracts are written in this format.
    
This label function searches for the word purpose at the beginning of the sentence.
Some abstracts are written in this format.
This label function searches for the word purpose at the beginning of the sentence . Some abstracts are written in this format .
def LF_DG_PURPOSE(c):
    return -1 if "PURPOSE:" in get_tagged_text(c) else 0
def LF_DG_PURPOSE ( c ) : return - 1 if "PURPOSE:" in get_tagged_text ( c ) else 0
This label function searches for the word purpose at the beginning of the sentence.
This label function searches for the word purpose at the beginning of the sentence .
""""
    This label function searches for the word purpose at the beginning of the sentence.
    Some abstracts are written in this format.
    """
c