code: def read_other_dataset(path, shrink=1, char_based=False):
      dataset = []
      with io.open(path, encoding="utf-8", errors="ignore") as f:
          for i, l in enumerate(f):
              if i % shrink != 0 or not len(l.strip()) >= 3:
                  continue
              label, text = l.strip().split(None, 1)
              label = int(label)
              tokens = split_text(normalize_text(text), char_based)
              dataset.append((tokens, label))
      return dataset
  
imports: import csv
  import glob
  import io
  import os
  import shutil
  import sys
  import tarfile
  import tempfile
  import numpy
  import chainer
  from nlp_utils import make_vocab
  from nlp_utils import normalize_text
  from nlp_utils import split_text
  from nlp_utils import transform_to_array
label_desc: Use image node_id 8 for calling a global function with example usage: read_other_dataset(path, shrink, char_based) and returns: dataset