code: def extract_relations_from_text_v0(self, text):
      self.disambiguation_links = set()
      self.categories = set()
      self.title_parenthesis = set()
  
      self.disambiguation_links_norm = set()
      self.categories_norm = set()
      self.title_parenthesis_norm = set()
      self.be_comp_norm = set()
  
      ext_links = set()
      title_parenthesis = set()
  
      text_lines = text.split("\n")
      for line in text_lines:
          cat_links = self.extract_categories(line)
          if not self.is_part_name:
              self.is_part_name = self.is_name_part(line)
              if not self.is_part_name and [
                  s for s in PART_NAME_CATEGORIES if s in cat_links
              ]:
                  self.is_part_name = True
  
          self.categories.update(cat_links)
          self.categories_norm.update(
              StringUtils.normalize_string_list(cat_links)
          )
  
          links, parenthesis_links = self.extract_links_and_parenthesis(
              line
          )
          ext_links.update(links)
          title_parenthesis.update(parenthesis_links)
  
      if self.is_disambiguation:
          self.disambiguation_links = ext_links
          self.disambiguation_links_norm = (
              StringUtils.normalize_string_list(ext_links)
          )
          self.title_parenthesis = title_parenthesis
          self.title_parenthesis_norm = (
              StringUtils.normalize_string_list(title_parenthesis)
          )
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/data_types/wiki/wikipedia_page_extracted_relations.py
imports: import re
  import string
  from typing import Set, Dict
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 2 for calling the WikipediaPageExtractedRelations obj's underlying member method code with example usage: obj.extract_relations_from_text_v0(text) without return types