playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_gene_lf.py
def LF_CG_PARENTHETICAL_DESC(c):
    """
    This label function looks for mentions that are in paranthesis.
    Some of the gene mentions are abbreviations rather than names of a gene.
    """
    if ")" in c[1].get_span() and "(" in list(get_left_tokens(c[1], window=1)):
        if LF_CG_DISTANCE_SHORT(c):
            return -1
    return 0

    This label function looks for mentions that are in paranthesis.
    Some of the gene mentions are abbreviations rather than names of a gene.
    
This label function looks for mentions that are in paranthesis.
Some of the gene mentions are abbreviations rather than names of a gene.
This label function looks for mentions that are in paranthesis . Some of the gene mentions are abbreviations rather than names of a gene .
def LF_CG_PARENTHETICAL_DESC(c):
    if ")" in c[1].get_span() and "(" in list(get_left_tokens(c[1], window=1)):
        if LF_CG_DISTANCE_SHORT(c):
            return -1
    return 0
def LF_CG_PARENTHETICAL_DESC ( c ) : if ")" in c [ 1 ] . get_span ( ) and "(" in list ( get_left_tokens ( c [ 1 ] , window = 1 ) ) : if LF_CG_DISTANCE_SHORT ( c ) : return - 1 return 0
This label function looks for mentions that are in paranthesis.
This label function looks for mentions that are in paranthesis .
"""
    This label function looks for mentions that are in paranthesis.
    Some of the gene mentions are abbreviations rather than names of a gene.
    """
c