class_docstr: Version of fairseq.data.LanguagePairDataset which represents source
  and target sentences as sequences of words, each represented as a
  sequence of characters (with numberized indices for both words and
  characters).
  Right-padded only.
code: def __init__(
      self,
      src: InMemoryNumpyWordCharDataset,
      src_sizes,
      src_dict,
      tgt: InMemoryNumpyWordCharDataset = None,
      tgt_sizes=None,
      tgt_dict=None,
      weights=None,
  ):
      super().__init__(
          src, src_sizes, src_dict, tgt, tgt_sizes, tgt_dict
      )
  
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 1 to create a new LanguagePairCharDataset object from inherited base classes: LanguagePairSourceCharDataset with example: obj = LanguagePairCharDataset(src, src_sizes, src_dict, tgt, tgt_sizes, tgt_dict, weights)