document vs script

document

noun
  • Any material substance on which the information is represented by writing. 

  • An object conveying information by whatever means, capable of being indexed alongside other similar objects. 

  • An original or official paper used as the basis, proof, or support of anything else, including any writing, book, or other instrument conveying information pertinent to such proof or support. 

  • A file that contains text. 

verb
  • To furnish with documents or papers necessary to establish facts or give information. 

  • To record in documents. 

script

noun
  • Written characters; style of writing. 

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

  • 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. 

  • 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. 

verb
  • To devise, concoct, or contrive. 

  • To make or write a script. 

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