class_docstr: analogous to fairseq.data.IndexedCachedDataset
code: def create_from_file(path):
      result = InMemoryNumpyWordCharDataset()
      result.load(path)
      return result
  
imports: from typing import Any, Dict
  import numpy
  import torch
  from fairseq import data, tokenizer
  from fvcore.common.file_io import PathManager
  from pytorch_translate import vocab_constants
  from pytorch_translate.data.dictionary import TAGS
label_desc: Use image node_id 12 for calling the InMemoryNumpyWordCharDataset obj's underlying member method code with example usage: obj.create_from_file(path) and returns: result