code: def align_document(document: PersonDocument) -> PersonDocument:
      """Aligns the document with timecut_pos"""
  
      cut = document.timecut_pos
      document.sentences = document.sentences[:cut]
      document.abspos = document.abspos[:cut]
      document.age = document.age[:cut]
      return document
  
file_path: life2vec/src/data_new/augment.py
imports: import random
  import numpy
  from .types import PersonDocument
label_desc: Use image node_id 2 for calling a global function with example usage: align_document(document) and returns: document