script vs treatise

script

noun
  • The written document containing the dialogue and action for a drama; the text of a stage play, movie, or other performance. Especially, the final form used for the performance itself. 

  • A behavioral script; sequence of actions in a given situation. 

  • Written characters; style of writing. 

  • A system of writing adapted to a particular language or set of languages. 

  • Type made in imitation of handwriting. 

  • An original instrument or document. 

  • A file containing a list of user commands, allowing them to be invoked once to execute in sequence. 

verb
  • To devise, concoct, or contrive. 

  • To make or write a script. 

treatise

noun
  • A formal, usually lengthy, systematic discourse on some subject. 

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