Add readme in spanish
This commit is contained in:
parent
aac5b910a5
commit
a29a7d0b81
|
@ -0,0 +1,21 @@
|
|||
# zaz-talk2me
|
||||
|
||||
Soporte para dictado en LibreOffice
|
||||
|
||||
**Importante**: Solo para Linux y LibreOffice instalado desde el sistema de paquetes de tu distribución.
|
||||
|
||||
Soporte para inglés y español.
|
||||
|
||||
Dependencias:
|
||||
|
||||
Ubuntu
|
||||
```
|
||||
sudo apt install xdotool
|
||||
pip install --user vosk
|
||||
```
|
||||
|
||||
Arch
|
||||
```
|
||||
sudo pacman -S xdotool
|
||||
pip install --user vosk
|
||||
```
|
Binary file not shown.
|
@ -16,12 +16,16 @@ class ZazTalk2Me(unohelper.Base, XJobExecutor):
|
|||
self.ctx = ctx
|
||||
|
||||
@app.run_in_thread
|
||||
def trigger(self, args):
|
||||
def _start(self):
|
||||
path_ext = app.paths.from_id(ID_EXTENSION)
|
||||
path_model = app.paths.join(path_ext, 'model')
|
||||
nd.main_begin(vosk_model_dir=path_model, config_override=None)
|
||||
app.info('Start')
|
||||
return
|
||||
|
||||
def trigger(self, args):
|
||||
if args=='start':
|
||||
nd.main_begin(vosk_model_dir=path_model, config_override=None)
|
||||
app.info('Start')
|
||||
self._start()
|
||||
elif args=='end':
|
||||
nd.main_end()
|
||||
app.info('End')
|
||||
|
|
Loading…
Reference in New Issue