How about a .pet of Artha thesaurus / dictionary?

Word processors, spreadsheets, presentations, translation, etc.
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

How about a .pet of Artha thesaurus / dictionary?

#1 Post 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!
Last edited by mcewanw on Fri 13 Nov 2009, 09:20, edited 1 time in total.
github mcewanw

User avatar
sikpuppy
Posts: 415
Joined: Sun 29 Mar 2009, 05:54

#2 Post 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)
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#3 Post 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 :-)
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Your Artha pet working fine on Puppy 4.3.1

#4 Post 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!
github mcewanw

User avatar
sikpuppy
Posts: 415
Joined: Sun 29 Mar 2009, 05:54

Re: Your Artha pet working fine on Puppy 4.3.1

#5 Post 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.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: Your Artha pet working fine on Puppy 4.3.1

#6 Post 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.
github mcewanw

User avatar
sikpuppy
Posts: 415
Joined: Sun 29 Mar 2009, 05:54

Re: Your Artha pet working fine on Puppy 4.3.1

#7 Post 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.
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Artha thesaurus

#8 Post 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
Last edited by mcewanw on Fri 20 Nov 2009, 21:48, edited 1 time in total.
github mcewanw

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

#9 Post 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
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].

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#10 Post by mcewanw »

gaiksaurus...

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

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#11 Post 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)?
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

aiksaurus is a "set of libraries and applications"

#12 Post 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
github mcewanw

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

#13 Post 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
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].

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#14 Post 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

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

#15 Post 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
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].

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

xclip -> thesaurus

#16 Post 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).
github mcewanw

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#17 Post 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

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#18 Post 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]
github mcewanw

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#19 Post by jakfish »

Many thanks. I will give this a whirl.

Jake

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

#20 Post 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
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].

Post Reply