code: def __init__(self, lang=None):
      self.lang = lang
      self.pages = []
      self.processed_pages = []
      self.page_content = []
      self.prepared = False
      self.error = None
  
file_path: doc2text/doc2text/__init__.py
imports: import os
  import mimetypes
  import PyPDF2
  import PythonMagick
  import cv2
  from .page import Page
label_desc: Use image node_id 1 to create a new Document object from inherited base classes: object with example: obj = Document(lang)