original_docstring: 
      Parses a text file at the give path.
      Returns a generator of tuples (original_word, stemmed_word)
      The original_word may include punctuation characters.
      
docstring: Parses a text file at the give path.
  Returns a generator of tuples (original_word, stemmed_word)
  The original_word may include punctuation characters.
docstring_tokens: Parses a text file at the give path . Returns a generator of tuples ( original_word stemmed_word ) The original_word may include punctuation characters .
code: def parse_file(filename):
      '''
      Parses a text file at the give path.
      Returns a generator of tuples (original_word, stemmed_word)
      The original_word may include punctuation characters.
      '''
      stemmer = PorterStemmer()
      with open(filename, 'r', encoding='utf-8') as f:
          for line in f:
              for word in line.split():
                  yield (word, stemmer.stem(trim_punctuation(word)))
code_tokens: def parse_file ( filename ) : stemmer = PorterStemmer ( ) with open ( filename , 'r' , encoding = 'utf-8' ) as f : for line in f : for word in line . split ( ) : yield ( word , stemmer . stem ( trim_punctuation ( word ) ) )
short_docstring: Parses a text file at the give path.
short_docstring_tokens: Parses a text file at the give path .
comment: '''
      Parses a text file at the give path.
      Returns a generator of tuples (original_word, stemmed_word)
      The original_word may include punctuation characters.
      '''