class_docstr: Filter out sentence that are too long.
docstr: Available options relate to this Transform.
  For performance it is better to use multiple of 8
  On target side, since we'll add BOS/EOS, we filter with minus 2
docstr_tok: ["Available","options","relate","to","this","Transform",".","For","performance","it","is","better","to","use","multiple","of","8","On","target","side",",","since","we","'ll","add","BOS\/EOS",",","we","filter","with","minus","2"]
code: def add_options(cls, parser):
      """
      Available options relate to this Transform.
      For performance it is better to use multiple of 8
      On target side, since we'll add BOS/EOS, we filter with minus 2
      """
      group = parser.add_argument_group("Transform/Filter")
      group.add(
          "--src_seq_length",
          "-src_seq_length",
          type=int,
          default=192,
          help="Maximum source sequence length.",
      )
      group.add(
          "--tgt_seq_length",
          "-tgt_seq_length",
          type=int,
          default=192,
          help="Maximum target sequence length.",
      )
  
imports: from onmt.utils.logging import logger
  from onmt.transforms import register_transform
  from .transform import Transform, ObservableStats
label_desc: Use image node_id 2 for calling the FilterTooLongTransform obj's underlying member method code with example usage: obj.add_options(cls, parser) without return types