original_docstring: Read random N words from a text file path.
  
      Args:
          path: (Path) a path to text file.
          limit: (int) the amount of words to invoke.
  
      Returns:
          generator: a generator N random words.
      
docstring: Read random N words from a text file path.
docstring_tokens: Read random N words from a text file path .
code: def _random_words(path: Path, limit: int = 5) -> Generator[str, None, None]:
      """Read random N words from a text file path.
  
      Args:
          path: (Path) a path to text file.
          limit: (int) the amount of words to invoke.
  
      Returns:
          generator: a generator N random words.
      """
      with path.open() as payload:  # type: IO[str]
          words = payload.read().split()
          for _ in range(limit):  # type: int
              yield random.choice(words)
code_tokens: def _random_words ( path : Path , limit : int = 5 ) -> Generator [ str , None , None ] : with path . open ( ) as payload : words = payload . read ( ) . split ( ) for _ in range ( limit ) : yield random . choice ( words )
short_docstring: Read random N words from a text file path.
short_docstring_tokens: Read random N words from a text file path .
comment: """Read random N words from a text file path.
  
      Args:
          path: (Path) a path to text file.
          limit: (int) the amount of words to invoke.
  
      Returns:
          generator: a generator N random words.
      """$SEP$# type: IO[str]$SEP$# type: int