def populate_previous_punctuation(previous_word, current_word)
      if !previous_word || previous_word.ends_sentence?
        current_word.begins_sentence = true
      else
        current_word.punctuation_before = previous_word.punctuation_after
      end
    end
def populate_previous_punctuation(previous_word, current_word)
      if !previous_word || previous_word.ends_sentence?
        current_word.begins_sentence = true
      else
        current_word.punctuation_before = previous_word.punctuation_after
      end
    end
Various metadata about what preceded a word can (only) be drawn from the previous word.