disease_gene/disease_associates_gene/data/label_functions/disease_gene_lfs.py
def LF_DG_PATIENT_WITH(c):
    """
    This label function looks for the phrase "  with" disease.
    """
    return 1 if re.search(r"patient(s)? with.{1,200}{{A}}", get_tagged_text(c), flags=re.I) else 0

    This label function looks for the phrase "  with" disease.
    
This label function looks for the phrase "  with" disease.
This label function looks for the phrase " with " disease .
def LF_DG_PATIENT_WITH(c):
    return 1 if re.search(r"patient(s)? with.{1,200}{{A}}", get_tagged_text(c), flags=re.I) else 0
def LF_DG_PATIENT_WITH ( c ) : return 1 if re . search ( r"patient(s)? with.{1,200}{{A}}" , get_tagged_text ( c ) , flags = re . I ) else 0
This label function looks for the phrase "  with" disease.
This label function looks for the phrase " with " disease .
"""
    This label function looks for the phrase "  with" disease.
    """
c