disease_gene/disease_associates_gene/data/label_functions/disease_gene_lfs.py
def LF_DG_DISTANCE_LONG(c):
    """
    This LF is designed to make sure that the disease mention
    and the gene mention aren't too far from each other.
    """
    return -1 if len(list(get_between_tokens(c))) > 50 else 0

    This LF is designed to make sure that the disease mention
    and the gene mention aren't too far from each other.
    
This LF is designed to make sure that the disease mention
and the gene mention aren't too far from each other.
This LF is designed to make sure that the disease mention and the gene mention aren ' t too far from each other .
def LF_DG_DISTANCE_LONG(c):
    return -1 if len(list(get_between_tokens(c))) > 50 else 0
def LF_DG_DISTANCE_LONG ( c ) : return - 1 if len ( list ( get_between_tokens ( c ) ) ) > 50 else 0
This LF is designed to make sure that the disease mention
and the gene mention aren't too far from each other.
This LF is designed to make sure that the disease mention and the gene mention aren ' t too far from each other .
"""
    This LF is designed to make sure that the disease mention
    and the gene mention aren't too far from each other.
    """
c