I am trying to write a speech-to-text app using vosk library, but have little understanding on how to include the library. I have read the following thread https://forums.ubports.com/topic/1321/solved-how-to-import-python-library-to-clickable?lang=de and understood some of it. Basically,
- if the library is not installed and uses C you have to crosscompile it for Ubuntu Touch
- best way to do it is using clickable docker images
Is this correct so far? (Are there any tutorials including this part of the process?)
Now, the part I don't understand at all: how do I let python know that the additional lib is shipped with the app? Is there any way to modify PYTHONPATH? Or should the app bring its own version of python? Or something else entirely?
(Apologies in case I am missing obvious things, I am an interpreter-language-only person )