def METHOD_NAME(file_, word2id):
    """Load data for node classification.
    """
    words_label = []
    line_count = 0
    with open(file_, 'r') as reader:
        for line in reader:
            line_count += 1
            tokens = line.strip().split(' ')
            word, label = tokens[0], int(tokens[1]) - 1
            if word in word2id:
                words_label.append((word2id[word], label))
    words_label = np.array(words_label, dtype=np.int64)
    np.random.shuffle(words_label)
    logging.info('%d/%d word_label pairs have been loaded' %
                 (len(words_label), line_count))
    return words_label