class_docstr: Writer class for 'score.scp'
  
  Examples:
      key1 /some/path/score.json
      key2 /some/path/score.json
      key3 /some/path/score.json
      key4 /some/path/score.json
      ...
  
      >>> writer = SingingScoreWriter('./data/', './data/score.scp')
      >>> writer['aa'] = score_obj
      >>> writer['bb'] = score_obj
class_docstr_tok: ["Writer","class","for","'score.scp'","Examples",":","key1","\/some\/path\/score.json","key2","\/some\/path\/score.json","key3","\/some\/path\/score.json","key4","\/some\/path\/score.json","...",">",">",">","writer","=","SingingScoreWriter","(","'.\/data\/","'",",","'.\/data\/score.scp","'",")",">",">",">","writer","[","'aa","'","]","=","score_obj",">",">",">","writer","[","'bb","'","]","=","score_obj"]
code: def __exit__(self, exc_type, exc_val, exc_tb):
      self.close()
  
imports: import collections.abc
  import json
  from pathlib import Path
  from typing import Union
  import numpy
  from typeguard import check_argument_types
  from espnet2.fileio.read_text import read_2columns_text
label_desc: Use image node_id 5 for calling the SingingScoreWriter obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_val, exc_tb) without return types