class_docstr: Class for loading language id data and providing batches
  
  Attempt to recreate data pre-processing from: https://github.com/AU-DIS/LSTM_langid
  
  Uses methods from: https://github.com/AU-DIS/LSTM_langid/blob/main/src/language_datasets.py
  
  Data format is same as LSTM_langid
code: def __init__(self, device=None):
      self.batches = None
      self.batches_iter = None
      self.tag_to_idx = None
      self.idx_to_tag = None
      self.lang_weights = None
      self.device = device
  
file_path: stanza/stanza/models/langid/data.py
imports: import json
  import random
  import torch
label_desc: Use image node_id 1 to create a new DataLoader object  with example: obj = DataLoader(device)