code: def iter_processed_text(self, file, encoding=None, base_url=None):
          '''Return the file text and processed absolute links.
  
          Args:
              file: A file object containing the document.
              encoding (str): The encoding of the document.
              base_url (str): The URL at which the document is located.
  
          Returns:
              iterator: Each item is a tuple:
  
              1. str: The text
              2. bool: Whether the text a link
          '''
          for text, is_link in self.iter_text(file, encoding):
              if is_link and base_url:
                  new_link = urljoin_safe(base_url, text, allow_fragments=False)
  
                  if new_link:
                      yield (new_link, is_link)
                  else:
                      yield (new_link, False)
              else:
                  yield (text, is_linkf iter_processed_text(self, file, encoding=None, base_url=None):
          '''Return the file text and processed absolute links.
  
          Args:
              file: A file object containing the document.
              encoding (str): The encoding of the document.
              base_url (str): The URL at which the document is located.
  
          Returns:
              iterator: Each item is a tuple:
  
              1. str: The text
              2. bool: Whether the text a link
          '''
          for text, is_link in self.iter_text(file, encoding):
              if is_link and base_url:
                  new_link = urljoin_safe(base_url, text, allow_fragments=False)
  
                  if new_link:
                      yield (new_link, is_link)
                  else:
                      yield (new_link, False)
              else:
                  yield (text, is_link)
docs: Return the file text and processed absolute links.
  
          Args:
              file: A file object containing the document.
              encoding (str): The encoding of the document.
              base_url (str): The URL at which the document is located.
  
          Returns:
              iterator: Each item is a tuple:
  
              1. str: The text
              2. bool: Whether the text a link