code: def drop_tokens(document: PersonDocument, p) -> PersonDocument:
      """Randomly drop tokens from a sentence"""
      for sentence in document.sentences:
          if np.random.rand(1) < p:
              sentence.pop(random.randrange(len(sentence)))
      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 1 for calling a global function with example usage: drop_tokens(document, p) and returns: document