docstr: Override this method to inform it need vocab to start.
docstr_tok: ["Override","this","method","to","inform","it","need","vocab","to","start","."]
code: def require_vocab(cls):
      """Override this method to inform it need vocab to start."""
      return True
  
imports: import math
  import numpy
  import torch
  from typing import Sequence, Callable
  from onmt.constants import DefaultTokens, SubwordMarker
  from onmt.transforms import register_transform
  from .transform import Transform
label_desc: Use image node_id 4 for calling the BARTNoiseTransform obj's underlying member method code with example usage: obj.require_vocab(cls) and returns: True