Text this: On the application of modular approach to the computation of the greatest common divisors of generalized polynomials