code: def load_doc(self, doc, evaluation=False):
      data = doc.get_mwt_expansions(evaluation)
      if evaluation:
          data = [[e] for e in data]
      return data
  
file_path: stanza/stanza/models/mwt/data.py
imports: import random
  import numpy
  import os
  from collections import Counter
  import logging
  import torch
  import stanza.models.common.seq2seq_constant
  from stanza.models.common.data import map_to_ids, get_long_tensor, get_float_tensor, sort_all
  from stanza.models.mwt.vocab import Vocab
  from stanza.models.common.doc import Document
label_desc: Use image node_id 7 for calling the DataLoader obj's underlying member method code with example usage: obj.load_doc(doc, evaluation) and returns: data