code: def __init__(self, dataset, min_count, care_type):
      self.negatives = []
      self.discards = []
      self.negpos = 0
      self.care_type = care_type
      self.word2id = dict()
      self.id2word = dict()
      self.sentences_count = 0
      self.token_count = 0
      self.word_frequency = dict()
      self.inputFileName = dataset.fn
      self.read_words(min_count)
      self.initTableNegatives()
      self.initTableDiscards()
  
file_path: dgl/examples/pytorch/metapath2vec/reading_data.py
imports: import numpy
  import torch
  from download import AminerDataset
  from torch.utils.data import Dataset
label_desc: Use image node_id 1 to create a new DataReader object  with example: obj = DataReader(dataset, min_count, care_type)