epilogue vs foreword

epilogue

noun
  • A brief oration or script at the end of a literary piece; an afterword 

  • A short speech, spoken directly at the audience at the end of a play 

  • A component of a computer program that prepares the computer to return from a routine. 

  • The performer who gives this speech 

verb
  • To conclude with an epilogue. 

foreword

noun
  • An introductory section preceding the main text of a book or other document; a preface or introduction. 

How often have the words epilogue and foreword occurred in a corpus of books? (source: Google Ngram Viewer )