How to force the mobile data (3G/4G) connection on a single app like Google voice recognition?
There is an app on the Play Store called "NoRoot Firewall" which may be used for this purpose.

Inside the app you can select which app you want to connect to WiFi or mobile data.