playground/compound_disease/transfer_learning_experiment/data/label_functions/disease_gene_lf.py
def LF_DG_IS_BIOMARKER(c):
    """
    This label function examines a sentences to determine of a sentence
    is talking about a biomarker. (A biomarker leads towards D-G assocation
    c - The candidate obejct being passed in
    """
    if re.search(ltp(biomarker_indicators) + r".*{{B}}", get_tagged_text(c), flags=re.I):
        return 1
    elif re.search(r"{{B}}.*" + ltp(biomarker_indicators), get_tagged_text(c), flags=re.I):
        return 1
    else:
        return 0

    This label function examines a sentences to determine of a sentence
    is talking about a biomarker. (A biomarker leads towards D-G assocation
    c - The candidate obejct being passed in
    
This label function examines a sentences to determine of a sentence
is talking about a biomarker. (A biomarker leads towards D-G assocation
c - The candidate obejct being passed in
This label function examines a sentences to determine of a sentence is talking about a biomarker . ( A biomarker leads towards D - G assocation c - The candidate obejct being passed in
def LF_DG_IS_BIOMARKER(c):
    if re.search(ltp(biomarker_indicators) + r".*{{B}}", get_tagged_text(c), flags=re.I):
        return 1
    elif re.search(r"{{B}}.*" + ltp(biomarker_indicators), get_tagged_text(c), flags=re.I):
        return 1
    else:
        return 0
def LF_DG_IS_BIOMARKER ( c ) : if re . search ( ltp ( biomarker_indicators ) + r".*{{B}}" , get_tagged_text ( c ) , flags = re . I ) : return 1 elif re . search ( r"{{B}}.*" + ltp ( biomarker_indicators ) , get_tagged_text ( c ) , flags = re . I ) : return 1 else : return 0
This label function examines a sentences to determine of a sentence
is talking about a biomarker.
This label function examines a sentences to determine of a sentence is talking about a biomarker .
"""
    This label function examines a sentences to determine of a sentence
    is talking about a biomarker. (A biomarker leads towards D-G assocation
    c - The candidate obejct being passed in
    """
c