def readText(dataframe, id_list):
    """
    read text (abstract) from dataframe

    Args:
        dataframe: dataframe type, contains node information
        id_list: sample list containing IDs

    Returns: 
        text list
    """
    text_list = list()
    for id in id_list:
        text_list.append(dataframe.loc[dataframe['id'] == int(id)]['abstract'].iloc[0])
    return text_list