Answer the question
In order to leave comments, you need to log in
How can I use a python script in a mobile application?
I want to write a voice assistant for the phone, I have a question-answer system written in python, which is implemented by calling three functions:
1) Accepts sound and translates into a string;
2) Based on the string received in paragraph 1, the function returns a string response;
3) The response from the string is translated into sound (text-to-speech) and the sound response (audio file) is returned.
I would like to make a mobile app, but I don't know if there is a language or framework that could implement the mobile app and run this python script (assuming the question is recorded and the answer played back in the mobile app).
Answer the question
In order to leave comments, you need to log in
Do you have a 'mobile application' on which it runs?
almost all modern equipment is supplied (free of charge 'on bird's rights') with a ready-made speech synthesis and recognition module created by Google (or Apple, or Yandex, or Baidu, or Microsoft, ... depending on the manufacturer who placed the spy modules in the OS) and sometimes you can use it in your application,
for example, through a mobile browser.
ps you want instead of using an excellent recognition and synthesis module, to carry your own, low-quality
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question