playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_gene_lf.py
def LF_CG_DISTANCE_LONG(c):
    """
    This LF is designed to make sure that the compound mention
    and the gene mention aren't too far from each other.
    """
    return -1 if len(list(get_between_tokens(c))) > 25 else 0

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