midshipman vs warrant officer

midshipman

noun
  • An officer of the lowest rank in several navies; especially, a trainee officer. 

  • A midshipman fish. 

warrant officer

noun
  • An officer holding rank by virtue of a warrant rather than a commission. 

  • An officer assigned to execute warrants and other writs. 

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