Development of 'trans_tray' (translation program)

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Message
Author
stemsee

#101 Post by stemsee »

technosaurus wrote:Where is the microphone icon for input / text?
Pocket Sphinx
and the speaker icon for translation?
Espeak or Flite

I had a thread with pocket sphinx continuous and associated bash helpers, but the binary itself got lost when the forum lowered the limit on file size.
Fred's experiments with sound seemed to prove the facility is too limited.

Have you any code to test/implement?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#102 Post by technosaurus »

stemsee wrote:
technosaurus wrote:Where is the microphone icon for input / text?
Pocket Sphinx
and the speaker icon for translation?
Espeak or Flite

I had a thread with pocket sphinx continuous and associated bash helpers, but the binary itself got lost when the forum lowered the limit on file size.
Fred's experiments with sound seemed to prove the facility is too limited.

Have you any code to test/implement?
I'm too exhausted to put together functional code, but here are the links to the building blocks of it:
http://www.murga-linux.com/puppy/viewto ... 912#729912
http://www.murga-linux.com/puppy/viewto ... 247#731247
http://murga-linux.com/puppy/viewtopic. ... 998#583998
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#103 Post by fredx181 »

Hi All, posted in Additional Software (PETs, n' stuff) » Utilities a .pet package based on above v6 (small addition is "first run" message).
http://murga-linux.com/puppy/viewtopic. ... 73#1037573

If there's any more development going on here, I'll update the pet accordingly.

Fred

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#104 Post by step »

Hi,
I started trans_tray from a terminal, right-clicked the icon and selected "Type or paste text to be translated". The terminal printed this error message:

Code: Select all

yad: wrong boolean value ''
I suppose it's nothing to worry about, but I wanted you to know.

Output from bash -vx trans_tray to give you some context for the error message.

Code: Select all

+ POPUP_TEXT='Left-click for Trans-Paste\nRight-click for Menu'
echo tooltip:"$POPUP_TEXT \nTarget language(s): $TGTLANG \nKeyboard layout: $KBL" 2> /dev/null >&3
+ echo 'tooltip:Left-click for Trans-Paste\nRight-click for Menu \nTarget language(s): English \nKeyboard layout: us,it'

yad --notification --kill-parent --listen \
--image="$ICON" \
--no-middle \
--text-align=center --icon-size=22 \
--command="bash -c trans_paste" <&3
+ yad --notification --kill-parent --listen --image=/root/.trans_tray/icons/google.svg --no-middle --text-align=center --icon-size=22 '--command=bash -c trans_paste'
yad: wrong boolean value ''
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

Post Reply