| 1 |
MyThes is a simple thesaurus that uses a structured |
| 2 |
text data file and an index file with binary search |
| 3 |
to lookup words and phrases and return information |
| 4 |
on part of speech, meanings, and synonyms |
| 5 |
|
| 6 |
MyThes was originall written to provide a thesaurus |
| 7 |
for the OpenOffice.org project |
| 8 |
|
| 9 |
The Main features of MyThes are: |
| 10 |
|
| 11 |
1. written in C++ to make it easier to interface with |
| 12 |
LibreOffice, OpenOffice, AbiWord, Pspell, etc |
| 13 |
|
| 14 |
2. it is stateless, uses no static variables and |
| 15 |
should be completely reentrant with no ifdefs |
| 16 |
|
| 17 |
3. it compiles with -ansi and -pedantic and -Wall |
| 18 |
with no warnigns so it shouldbe quite portable |
| 19 |
|
| 20 |
4. it uses a simple perl program to read the structured |
| 21 |
text file and create the index needed for binary |
| 22 |
searching |
| 23 |
|
| 24 |
5. it is very simple with *lots* of comments. |
| 25 |
The main "smarts" are in the structure of the |
| 26 |
text file that makes up the thesaurus data |
| 27 |
|
| 28 |
6. It comes with a ready-to-go structured thesaurus |
| 29 |
data file for en_US extracted from the WordNet-2.0 data. |
| 30 |
|
| 31 |
Please see WordNet_license.txt and WordNet_readme.txt |
| 32 |
for more information on the very useful project! |
| 33 |
|
| 34 |
See http://www.danielnaber.de/wn2ooo/ for utilities to |
| 35 |
regenerate an up to date English thesaurus from the most |
| 36 |
recent WordNet data. |
| 37 |
|
| 38 |
7. The source code has a BSD license (and no advertising clause) |
| 39 |
|
| 40 |
|
| 41 |
MyThes comes with a simple example program that looks up some words and returns |
| 42 |
meanings and synonyms. |
| 43 |
|
| 44 |
INSTALLATION |
| 45 |
|
| 46 |
./autogen.sh # or: autoreconf -fvi |
| 47 |
./configure |
| 48 |
make |
| 49 |
make install |
| 50 |
|
| 51 |
To run the example program: |
| 52 |
./example th_en_US_new.idx th_en_US_new.dat checkme.lst |
| 53 |
|
| 54 |
To run the example program with stemming and morphological generation: |
| 55 |
e.g. to check mouse, mice, rodents, eats, eaten, ate, eating etc. words |
| 56 |
./example morph.idx morph.dat morph.lst morph.aff morph.dic |
| 57 |
|
| 58 |
NOTE: this is only an example and test environment for dictionary developers, |
| 59 |
full English stemming and morphological generation needs an improved |
| 60 |
English Hunspell dictionary. |
| 61 |
|
| 62 |
László Németh <nemeth at OO.o> |
| 63 |
Kevin Hendricks <[email protected]> |