What is the difference between these two phrases?
Do they have the same meaning or not?
e.g "Elephants are very tall. By way of contrast, the insects are small."
e.g "I study language by ways of comparing books."
Are they true or not?
By way of contrast, [some phrase]."
By way of contrast is a regular prepositional phrase.
An example here:
They spent millions of dollars on advertising. By way of contrast, our small company spent under 5,000 dollars.
By ways of comparing (x and y), [some phrase]."
By ways of comparing (x and y) is a noun phrase.
I could not find any examples, so this might not be a normally used form.