Complex sentence: This can be done by machines or by dogs smelling the trees, similar to the methods used to find truffles.
Split into simpler sentences: This can be done by dogs or machines smelling the trees. This is similar to the methods used to find truffles.