compound_disease/compound_treats_disease/data/label_functions/compound_disease_lf.py
def LF_CD_BICLUSTER_DISEASE_ROLE(c):
    """
    This label function uses the bicluster data located in the 
    A global network of biomedical relationships
    """
    sen_pos = c.get_parent().position
    pubmed_id = int(c.get_parent().document.name)
    if (pubmed_id, sen_pos) in disease_role_base:
        return 1
    return 0

    This label function uses the bicluster data located in the 
    A global network of biomedical relationships
    
This label function uses the bicluster data located in the
A global network of biomedical relationships
This label function uses the bicluster data located in the A global network of biomedical relationships
def LF_CD_BICLUSTER_DISEASE_ROLE(c):
    sen_pos = c.get_parent().position
    pubmed_id = int(c.get_parent().document.name)
    if (pubmed_id, sen_pos) in disease_role_base:
        return 1
    return 0
def LF_CD_BICLUSTER_DISEASE_ROLE ( c ) : sen_pos = c . get_parent ( ) . position pubmed_id = int ( c . get_parent ( ) . document . name ) if ( pubmed_id , sen_pos ) in disease_role_base : return 1 return 0
This label function uses the bicluster data located in the
A global network of biomedical relationships
This label function uses the bicluster data located in the A global network of biomedical relationships
"""
    This label function uses the bicluster data located in the 
    A global network of biomedical relationships
    """
c