code: def __init__(
      self,
      file_path: str = DEFAULT_UMLS_PATH,
      types_file_path: str = DEFAULT_UMLS_TYPES_PATH,
  ):
      super().__init__(file_path)
  
      self.semantic_type_tree: UmlsSemanticTypeTree = (
          construct_umls_tree_from_tsv(types_file_path)
      )
  
imports: from typing import List, Dict, NamedTuple, Optional, Set
  import json
  from collections import defaultdict
  from scispacy.file_cache import cached_path
  from scispacy.umls_semantic_type_tree import UmlsSemanticTypeTree, construct_umls_tree_from_tsv
label_desc: Use image node_id 1 to create a new UmlsKnowledgeBase object from inherited base classes: KnowledgeBase with example: obj = UmlsKnowledgeBase(file_path, types_file_path)