How about a .pet of Artha thesaurus / dictionary?
xclip -> thesaurus
That works really well, thanks. I forgot about xclip; I used that (or maybe xsel) myself a year or so ago in something I was working on (foksyfeyer - a screen reader+espeak configured assembly of console apps for Puppy).
github mcewanw
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I made a pet here:
http://www.murga-linux.com/puppy/viewtopic.php?t=49249
It can also do text to speech and google search from the clipboard
http://www.murga-linux.com/puppy/viewtopic.php?t=49249
It can also do text to speech and google search from the clipboard
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].
Artha works fine in dPup 482beta4
Thank you sikpuppy for creating the Artha pet, and thank you mcewanw for bringing it to my attention.
Though still in beta, gposil's dpup482 is stable and may be the fastest puplet I've used. Abiword 2.80, its default wordprocessor, doesn't have a thesaurus. Intending to ask gposil about it, I accidentally clicked new topic, and mcewanw, replying, called Artha to my attention. As I indicated in my response to his reply, I'm reporting, after installation, that Artha runs fine under dpup.
A couple of questions, however. Sikpuppy's first message was
"You[b] may [/b] need to do this first:Click" {Emphasis mine} which when done opens to:
"Type about:config in the URL box.
Enter: general.useragent.extra.seamonkey in the filter box.
Double click on the entry.
Change the entry in the popup box to Firefox.
Have fun!"
As I mentioned, on my system Artha runs fine without it, i.e., opens, works, stays in memory, is called up with Alt-Ctl-w. I assume the instructions were to customize Seamonkey or Firefox. What are they supposed to do? and when are they needed? By not doing that, am I missing out on some functionality?
As mentioned, Artha stays resident in memory. Is there some way to turn it off, other than thru pprocess?
Thanks,
Mikeslr
Though still in beta, gposil's dpup482 is stable and may be the fastest puplet I've used. Abiword 2.80, its default wordprocessor, doesn't have a thesaurus. Intending to ask gposil about it, I accidentally clicked new topic, and mcewanw, replying, called Artha to my attention. As I indicated in my response to his reply, I'm reporting, after installation, that Artha runs fine under dpup.
A couple of questions, however. Sikpuppy's first message was
"You[b] may [/b] need to do this first:Click" {Emphasis mine} which when done opens to:
"Type about:config in the URL box.
Enter: general.useragent.extra.seamonkey in the filter box.
Double click on the entry.
Change the entry in the popup box to Firefox.
Have fun!"
As I mentioned, on my system Artha runs fine without it, i.e., opens, works, stays in memory, is called up with Alt-Ctl-w. I assume the instructions were to customize Seamonkey or Firefox. What are they supposed to do? and when are they needed? By not doing that, am I missing out on some functionality?
As mentioned, Artha stays resident in memory. Is there some way to turn it off, other than thru pprocess?
Thanks,
Mikeslr
Re: Artha works fine in dPup 482beta4
That's to get the browser to connect properly to the SKydrive upload site, it has nothing to do with Artha. Skydrive doesn't accept Seamonkey as a browser so to download any of my files you need to change that setting.mikeslr wrote:Thank you sikpuppy for creating the Artha pet, and thank you mcewanw for bringing it to my attention.
Though still in beta, gposil's dpup482 is stable and may be the fastest puplet I've used. Abiword 2.80, its default wordprocessor, doesn't have a thesaurus. Intending to ask gposil about it, I accidentally clicked new topic, and mcewanw, replying, called Artha to my attention. As I indicated in my response to his reply, I'm reporting, after installation, that Artha runs fine under dpup.
A couple of questions, however. Sikpuppy's first message was
"You[b] may [/b] need to do this first:Click" {Emphasis mine} which when done opens to:
"Type about:config in the URL box.
Enter: general.useragent.extra.seamonkey in the filter box.
Double click on the entry.
Change the entry in the popup box to Firefox.
Have fun!"
As I mentioned, on my system Artha runs fine without it, i.e., opens, works, stays in memory, is called up with Alt-Ctl-w. I assume the instructions were to customize Seamonkey or Firefox. What are they supposed to do? and when are they needed? By not doing that, am I missing out on some functionality?
As mentioned, Artha stays resident in memory. Is there some way to turn it off, other than thru pprocess?
Thanks,
Mikeslr
All it does is pretend Seamonkey is Firefox for the purposes of connecting to sites that are pedantic about that sort of thing.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
How to turn-off Artha?
Hi sikpuppy:
Thanks for the response to my previous question. As I mentioned, Artha stays resident in memory unless pprocess is call up and Artha is terminated using it. Both my Desktop and my Laptop have 1 Gig or more of Ram, so for me the memory usage isn't particularly important. However, others with less robust systems may wonder if there was a more elegant way to remove it from memory. If not, perhaps you may consider including that option in the future.
[p.s. I posted the same question on Launchpad-Artha. I'll advise if I get a response.]
Thanks again,
Mike
Thanks for the response to my previous question. As I mentioned, Artha stays resident in memory unless pprocess is call up and Artha is terminated using it. Both my Desktop and my Laptop have 1 Gig or more of Ram, so for me the memory usage isn't particularly important. However, others with less robust systems may wonder if there was a more elegant way to remove it from memory. If not, perhaps you may consider including that option in the future.
[p.s. I posted the same question on Launchpad-Artha. I'll advise if I get a response.]
Thanks again,
Mike
Re: How to turn-off Artha?
Just the usual way for apps that stay resident on the tray/taskbar: you right click the icon and select "Quit". At least that is how it works in JWM (Puppy 4.3.1).mikeslr wrote:However, others with less robust systems may wonder if there was a more elegant way to remove it from memory.
github mcewanw
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I saw that a new version of artha was recently released, but after learning that it used wordnet, I instead hacked together this little one-liner:
here are my first attempts in case they are useful
but then I remembered my gaiksaurus script
but sometimes the clipboard has something you don't wan't so I settled on this (you can paste into the dialog)
(it is up to you if you want to turn on word wrap in your text viewer)
and I went ahead and made a command line version since all I had to do was change Xdialog to dialog and delete from the ">" on
(to get a navigable page instead of just text in psaurus change the last line to defaulthtmlviewer http://wordnetweb.princeton.edu/perl/webwn?s=$MYWORD)
... anyhow here is a pet package (sorry no menu entry)
here are my first attempts in case they are useful
Code: Select all
wget -q -O - http://wordnetweb.princeton.edu/perl/webwn?s=$1 |sed "s/<li>/\n<li>/g" | sed "s/<\/ul>/\n/g" |grep "<li>" >/tmp/word.html && defaulthtmlviewer /tmp/word.html
#or this to view as a tailbox
wget -q -O - http://wordnetweb.princeton.edu/perl/webwn?s=$1 |sed "s/<li>/\n<li>/g" | sed "s/<\/ul>/\n/g" |grep "<li>" |sed "s/<[^>]*>//g" |Xdialog --tailbox - 0 0
#or defaulttextviewer
wget -q -O - http://wordnetweb.princeton.edu/perl/webwn?s=$1 |sed "s/<li>/\n<li>/g" | sed "s/<\/ul>/\n/g" |grep "<li>" |sed "s/<[^>]*>//g" |sed "s/S: //g" >/tmp/word.txt && defaulttextviewer /tmp/word.txt
Code: Select all
#!/bin/sh
if [ ! $1 ];then
MYWORD=`xclip -o`
else
MYWORD=$@
fi
gaiksaurus $MYWORD
Code: Select all
#!/bin/sh
if [ ! $1 ];then
MYWORD=`Xdialog --stdout --title "Psaurus" --inputbox "Enter a word to look up." 0 0`
else
MYWORD=$@
fi
wget -q -O - http://wordnetweb.princeton.edu/perl/webwn?s=$MYWORD |sed "s/<li>/\n<li>/g" | sed "s/<\/ul>/\n/g" |grep "<li>" |sed "s/<[^>]*>//g" |sed "s/S: //g" >/tmp/word.txt && defaulttextviewer /tmp/word.txt
and I went ahead and made a command line version since all I had to do was change Xdialog to dialog and delete from the ">" on
(to get a navigable page instead of just text in psaurus change the last line to defaulthtmlviewer http://wordnetweb.princeton.edu/perl/webwn?s=$MYWORD)
... anyhow here is a pet package (sorry no menu entry)
- Attachments
-
- psaurus.png
- (12.79 KiB) Downloaded 1478 times
-
- Psaurus-0.1.pet
- (620 Bytes) Downloaded 911 times
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].
Artha thesaurus --works great in 2012 Pups
Hi all,
Just wanted to mention that this build still works great in the latest Slacko, Precise, OV-Precise, and Exprimo.
mikesLr
Just wanted to mention that this build still works great in the latest Slacko, Precise, OV-Precise, and Exprimo.
mikesLr
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Wordnet 3.1 was published without announcement a month or 2 ago. I wrote the beginnings of a script to parse the dictionary into C code (not complete, but the idea was to be able to build it as a fast, single portable static executable). Is there any desire for such a beast? ... I totally forgot about Psaurus; does it need any updates?
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].
Re: Artha thesaurus --works great in 2012 Pups
Thanks for the tip! Just added this pet to my Wary 5.1.4.1 setup.mikeslr wrote:Hi all,
Just wanted to mention that this build still works great in the latest Slacko, Precise, OV-Precise, and Exprimo.
mikesLr
Wary 5.1.4.1 frugal
300 Mhz Pentium II laptop
96 Meg memory
Dual-boot with Win98
Technosaurus, having only just now seen this thread and tried out the Artha .pet (in Racy 5.3), I'm impressed. Could your version of Wordnet make it work even better?
- TwoPuppies
- Posts: 77
- Joined: Wed 29 Dec 2010, 05:13
- Location: Melbourne, Australia
- Puppus Dogfellow
- Posts: 1667
- Joined: Tue 08 Jan 2013, 01:39
- Location: nyc
you can grab a version here. goldendict, also available in that folder, is better. for that you'd need the adjacent wordnet deb and either the 1.0 _ or the 1.5_ pet.TwoPuppies wrote:Hi.
I just tried to download the Artha .pet and got a message saying that the file had expired. Any chance of a new download link?
There is a artha-1.0.3.pet and wordnet-3.0.pet in the Carolina repo if that's any good to you.TwoPuppies wrote:Hi.
I just tried to download the Artha .pet and got a message saying that the file had expired. Any chance of a new download link?
http://smokey01.com/carolina/pet_packages-carolina/
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
- TwoPuppies
- Posts: 77
- Joined: Wed 29 Dec 2010, 05:13
- Location: Melbourne, Australia