playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_disease_lf.py
def LF_CD_DISTANCE_SHORT(c):
    """
    This LF is designed to make sure that the compound mention
    and the gene mention aren't right next to each other.
    """
    return -1 if len(list(get_between_tokens(c))) <= 2 else 0

    This LF is designed to make sure that the compound mention
    and the gene mention aren't right next to each other.
    
This LF is designed to make sure that the compound mention
and the gene mention aren't right next to each other.
This LF is designed to make sure that the compound mention and the gene mention aren ' t right next to each other .
def LF_CD_DISTANCE_SHORT(c):
    return -1 if len(list(get_between_tokens(c))) <= 2 else 0
def LF_CD_DISTANCE_SHORT ( c ) : return - 1 if len ( list ( get_between_tokens ( c ) ) ) <= 2 else 0
This LF is designed to make sure that the compound mention
and the gene mention aren't right next to each other.
This LF is designed to make sure that the compound mention and the gene mention aren ' t right next to each other .
"""
    This LF is designed to make sure that the compound mention
    and the gene mention aren't right next to each other.
    """
c