contrarily vs if anything

contrarily

adv
  • In a contrary manner; in opposite ways or directions. 

if anything

adv
  • Used to suggest or state tentatively that something may be the case (often the opposite of something previously implied). 

  • Used in questions when the speaker does not know for sure if the listener will have an answer. 

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