class_docstr: Reader class for 'rttm.scp'.
  
  Examples:
      SPEAKER file1 1 0 1023 <NA> <NA> spk1 <NA>
      SPEAKER file1 2 4000 3023 <NA> <NA> spk2 <NA>
      SPEAKER file1 3 500 4023 <NA> <NA> spk1 <NA>
      END     file1 <NA> 4023 <NA> <NA> <NA> <NA>
  
      This is an extend version of standard RTTM format for espnet.
      The difference including:
      1. Use sample number instead of absolute time
      2. has a END label to represent the duration of a recording
      3. replace duration (5th field) with end time
      (For standard RTTM,
          see https://catalog.ldc.upenn.edu/docs/LDC2004T12/RTTM-format-v13.pdf)
      ...
  
      >>> reader = RttmReader('rttm')
      >>> spk_label = reader["file1"]
class_docstr_tok: ["Reader","class","for","'rttm.scp","'",".","Examples",":","SPEAKER","file1","1","0","1023","<","NA",">","<","NA",">","spk1","<","NA",">","SPEAKER","file1","2","4000","3023","<","NA",">","<","NA",">","spk2","<","NA",">","SPEAKER","file1","3","500","4023","<","NA",">","<","NA",">","spk1","<","NA",">","END","file1","<","NA",">","4023","<","NA",">","<","NA",">","<","NA",">","<","NA",">","This","is","an","extend","version","of","standard","RTTM","format","for","espnet",".","The","difference","including",":","1",".","Use","sample","number","instead","of","absolute","time","2.","has","a","END","label","to","represent","the","duration","of","a","recording","3.","replace","duration","(","5th","field",")","with","end","time","(","For","standard","RTTM",",","see","https",":","\/\/catalog.ldc.upenn.edu\/docs\/LDC2004T12\/RTTM-format-v13.pdf",")","...",">",">",">","reader","=","RttmReader","(","'rttm","'",")",">",">",">","spk_label","=","reader","[","``","file1","''","]"]
code: def __contains__(self, item):
      return item
  
file_path: espnet/espnet2/fileio/rttm.py
imports: import collections.abc
  import re
  from pathlib import Path
  from typing import Dict, List, Tuple, Union
  import numpy
  from typeguard import check_argument_types
label_desc: Use image node_id 3 for calling the RttmReader obj's underlying member method code with example usage: obj.__contains__(item) and returns: item