caprice vs one-track mind

caprice

noun
  • An impulsive, seemingly unmotivated action, change of mind, or notion. 

  • A capriccio. 

  • A brief romance. 

  • An unpredictable or sudden condition, change, or series of changes. 

  • A disposition to be impulsive. 

one-track mind

noun
  • That said to be possessed by someone who is obsessed with something or only able to think of one thing. 

How often have the words caprice and one-track mind occurred in a corpus of books? (source: Google Ngram Viewer )