annul vs write someone or something off

annul

verb
  • To formally revoke the validity of. 

  • To dissolve (a marital union) on the grounds that it is not valid. 

write someone or something off

How often have the words annul and write someone or something off occurred in a corpus of books? (source: Google Ngram Viewer )