Page 1 of 3

How about a .pet of Artha thesaurus / dictionary?

Posted: Fri 13 Nov 2009, 00:15
by mcewanw
I currently use Wordweb thesaurus/dictionary over wine but wish I had the linux better-than-wordweb clone called Artha for my Puppy 4.3.1 system.

Wordweb is one of these programs that is really missed by many people coming from Windows to Linux I feel (and personally I much prefer it to an online thesaurus).

http://artha.sourceforge.net/wiki/index.php/Home

Anyone compiled that and produced a dotpet as yet? I've searched but can't find any reference to it on the forum.

EDIT: The dotpet provided by sikpuppy in post below works fine in Puppy 4.3.1!

Posted: Fri 13 Nov 2009, 01:20
by sikpuppy
Here 'tis. Hope it works, if not I will make it work :P

James.

You may need to do this first:Click

The pet is Here. (12.2Mb)

Posted: Fri 13 Nov 2009, 07:41
by mcewanw
Great! I'll probably download it overnight (I'm on dialup) and give it a try thereafter

(my Seamonkey already pretends to be Firefox so that it works with my bank :-)

Your Artha pet working fine on Puppy 4.3.1

Posted: Fri 13 Nov 2009, 09:30
by mcewanw
Have now downloaded and installed your dotpet for Artha on my Puppy 4.3.1 system and it seems to be working fine! A very useful dotpet I'd say (albeit taking up a fair amount of space). I used to use Wordweb all the time when studying English and writing essays.

As a matter of interest, did you compile the program on Puppy 4.3.1 or is it from some other distribution originally?

The only thing I'm not so sure about, comparing Artha with Wordweb, is that it doesn't appear to indicate whether a displayed word is being spelled with US English or British English. For example, it recognises both 'color' and 'colour' but doesn't indicate the corresponding US/British characteristic. With so much US English saturating the web, I sometimes start mixing the two variations together; Wordweb was good at straightening me out in that regard!

Re: Your Artha pet working fine on Puppy 4.3.1

Posted: Fri 13 Nov 2009, 12:16
by sikpuppy
mcewanw wrote:Have now downloaded and installed your dotpet for Artha on my Puppy 4.3.1 system and it seems to be working fine! A very useful dotpet I'd say (albeit taking up a fair amount of space). I used to use Wordweb all the time when studying English and writing essays.

As a matter of interest, did you compile the program on Puppy 4.3.1 or is it from some other distribution originally?

The only thing I'm not so sure about, comparing Artha with Wordweb, is that it doesn't appear to indicate whether a displayed word is being spelled with US English or British English. For example, it recognises both 'color' and 'colour' but doesn't indicate the corresponding US/British characteristic. With so much US English saturating the web, I sometimes start mixing the two variations together; Wordweb was good at straightening me out in that regard!
It was compiled from the raw source on 4.3.1. The actual executable is small, it's all the dictionaries (and there's more, in the form of various scientist level English lookups).

As for the US English part, Wordweb is developed by Princeton University. So I think that's where the American spelling comes in :P

http://artha.sourceforge.net/wiki/index ... es#WordNet

It actually appears that the main executable can be made with notification and spelling checker...dunno what that means, but i will rebuild and upload a small pet that could add this functionality presently.

Re: Your Artha pet working fine on Puppy 4.3.1

Posted: Mon 16 Nov 2009, 07:09
by mcewanw
sikpuppy wrote: As for the US English part, Wordweb is developed by Princeton University. So I think that's where the American spelling comes in :P
I think you mean WordNet here rather than Wordweb. Like Artha, I believe the program Wordweb relies to a large extent on WordNet.

Actually, Artha, includes both the British and the American spellings, it just doesn't seem to identify which is which (whereas, the program wordweb does).

sikpuppy wrote: It actually appears that the main executable can be made with notification and spelling checker...dunno what that means, but i will rebuild and upload a small pet that could add this functionality presently.
Really looking forward to that. Very useful. I'm surprised more users haven't commented, especially since so many ex-Windows users have said in the past how much they missed the program wordweb.

Re: Your Artha pet working fine on Puppy 4.3.1

Posted: Tue 17 Nov 2009, 05:43
by sikpuppy
mcewanw wrote: I think you mean WordNet here rather than Wordweb. Like Artha, I believe the program Wordweb relies to a large extent on WordNet.

Actually, Artha, includes both the British and the American spellings, it just doesn't seem to identify which is which (whereas, the program wordweb does).
Really looking forward to that. Very useful. I'm surprised more users haven't commented, especially since so many ex-Windows users have said in the past how much they missed the program wordweb.
Yes, I stand corrected :P

I had to travel to Sydney for a few days but rest assured I am still on the case.

As an aside, it would be nice if more Internet users at least had a inline spell checker.

Artha thesaurus

Posted: Fri 20 Nov 2009, 21:40
by mcewanw
I just came across someone requesting an offline thesaurus for Abiword http://www.murga-linux.com/puppy/viewto ... 907#363907

I can't help thinking that not enough people realise that Artha offline thesaurus exists. It is the ideal solution to such needs, especially since it works with any installed program via its ctrl-alt-W hotkey combination. Far better, I feel, to install the full featured Artha as a dotpet than to clog up Puppy linux by including Abiword with some crummy thesaurus addon of its own. At 12 MBytes, some might say that Artha is a big download, but if a thesaurus is small in download size, it can't be a very good thesaurus anyway (more words - more size)! - all the more important that Artha inherently works as an enhancing add-on for pretty much all installed programs, not just Abiword.

Thanks to sikpuppy, you can download a dotpet of Artha via the above post: http://www.murga-linux.com/puppy/viewto ... 204#361204

Posted: Fri 20 Nov 2009, 21:45
by technosaurus
I don't know why there isn't a menu entry for it but type

Code: Select all

gaiksaurus
...we're not related btw

Posted: Fri 20 Nov 2009, 21:50
by mcewanw
gaiksaurus...

Oh that is interesting to know. Nothing like as powerful as Artha, but good for a slim Puppy.

Posted: Fri 20 Nov 2009, 21:55
by mcewanw
I presume (and its help page supports my thought) that gaiksaurus works as a standalone program only (i.e. can't be activated by highlighting a word in another program and pressing a hot key combination)?

aiksaurus is a "set of libraries and applications"

Posted: Fri 20 Nov 2009, 22:20
by mcewanw
re: gaiksaurus

I've pretty much found out the answer to my own question.
http://www.murga-linux.com/puppy/viewto ... 946#363946

Posted: Sat 21 Nov 2009, 10:49
by technosaurus
You can edit the keybindings in
/root/.jwm/jwmrc-personal

<Key mask="A" key="t">exec:gaiksaurus</Key>

...pressing Alt+t will open gaiksaurus in any program then

Posted: Sat 21 Nov 2009, 11:31
by jakfish
Nice tip, technosaurus. With that key binding edit, alt-t brings up gaiksaurus even in wine/ms word 97 (good news since word's thesaurus is pretty primitive).

Jake

Posted: Sat 21 Nov 2009, 20:31
by technosaurus
here is something even better that I threw together (It uses your clipboard).. map it to this instead - I simply called it /usr/bin/thesaurus

Code: Select all

#!/bin/sh
if [ ! $1 ];then
MYWORD=`xclip -o`
else
MYWORD=$@
fi
gaiksaurus $MYWORD

xclip -> thesaurus

Posted: Sun 22 Nov 2009, 05:25
by mcewanw
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).

Posted: Sun 22 Nov 2009, 13:44
by jakfish
Now I'm a little lost.

How do I connect your original command of:

<Key mask="A" key="t">exec:gaiksaurus</Key>

to your nifty script?

Apologies for my hard-of-thinking,
Jake

Posted: Sun 22 Nov 2009, 15:12
by mcewanw
First you create an executable shell script called thesaurus using the new code provided by technosaurus.

Then you put that shell script in /usr/local/bin

then you use:

<Key mask="A" key="t">exec:thesaurus</Key>

[instead of exec:gaiksaurus]

Posted: Sun 22 Nov 2009, 16:47
by jakfish
Many thanks. I will give this a whirl.

Jake

Posted: Mon 23 Nov 2009, 01:56
by technosaurus
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