|
|  |
Installing Meat
Installation on Unix machines |
First you have to download Meat (and possibly Tcl) if haven't done
that already. The download page is here.
Installing Tcl/Tk
There is a README file for both Tcl7.6 and Tk4.2 which you have to
follow to successfully install Tcl/Tk on your machine. In order to
compile and run Meat, you need to set the environment variable
LD_LIBRARY_PATH to include the directory where the Tcl/Tk
libraries reside (usually /usr/local/tcl/lib or something).
Installing the IBM classes for Unicode
There is a file readme.html in the toplevel directory that should guide you
through the installation process.
In order to
compile and run Meat, you need to set the environment variable
LD_LIBRARY_PATH to include the directory where the icu
libraries reside (usually /usr/local/icu/lib or something).
Note: The data files directory in this particular distribution seems to be
broken. You have to manually copy the big endian files to their final destination:
cd icu/data
cp charBE.brk char.brk
cp line_thBE.brk line_th.brk
cp lineBE.brk line.brk
cp sentBE.brk sent.brk
cp word_thBE.brk word_th.brk
cp wordBE.brk word.brk
Installing the CRL Unicode library
There is a file src/INSTALL which describes how to install the library.
Installing Meat
Running Meat
To run sample translations in Turkish or Persian, follow these
steps:
- Go to the appropriate language directory:
cd
/home/joe/meat2.1/lang/tur or cd
/home/joe/meat2.1/lang/per.
- Start the user interface:
Meat.tcl.
- Select the language from the Language menu. Currently, we support
Persian and Turkish in this package.
- Press the button Recompile everything. This will take a while,
depending on the language and your system.
- Select a sentence directory by pressing Select. Select one example
file and all the examples will be displayed in the list. The Turkish
examples we provide are under
.../lang/tur/corpus/txt
All of the Turkish examples are text files (extension .txt). The
Persian examples are under
.../lang/per/corpus
All of the Persian examples are in UTF8 encoding (extension .utf8)
Note that the file selector box usually starts in language folder, so
you should be able to get with a few clicks to the directory you want.
- Select a specific sentence by double-clicking on one of the items
in the list. The source language text will be displayed in the Source
window (which is not quite readable for the UTF8 examples right now).
- Translate the sentence by clicking on Translate. The result will
be displayed in the Translation window.
- If you are interested in how the sentence was analyzed, click on
Viewer. This will open a chart window with several edges. This is
usually only relevant for developers...
- Quit using the File menu.
Uninstalling Meat
To uninstall Meat, simply delete the directory
/home/joe/meat2.1 and all its subdirectories.
Installation on Windows |
Download Meat (and Tcl) (the download page is here), and install them using the
standard values. This will create a program group Meat.
Both systems are self-extracting archives. To install Meat you will
need a lot of disk space (the package is approx. 85 MB).
Installing Tcl/Tk
- Assuming you downloaded the installation binary as c:\tmp\win76p2.exe,
double-click on this file (e.g. in the Windows Explorer).
- The installation asks for an installation directory, c:\Program
Files\TCL by default. No need to change that.
- Use the full installation
- If you want, you can add Wish to the start menu, but this is not
essential.
Installing Meat
- We assume that the installation was downloaded as
c:\tmp\Meat21.exe.
- Double-click that file (e.g. in the Explorer)
- Click Setup, then Next
- You can choose the installation directory. Again, we recommend
leaving this in c:\Program Files\Meat
- Meat is automatically inserted in the Start Program list
To run properly, files with the extension .tcl need to be
associated with the wish42.exe shell. If the installation doesn't do
this automatically, you need to specify it. Open an explorer view of
any directory, select View|Folder Options|File Types|New Type and
select ``.tcl'' as associated extension. Choose New under the Actions
window, specify ``open'' as action, and something like
"C:\Program Files\TCL\bin\wish42.exe" "%1"
in the Application field.
Running Meat
To run sample translations in Turkish or Persian, follow these
steps:
- Double-click on the item installed in the start menu. If there is no
such item, the Meat user interface is under
...\bin\Meat.tcl
(The ... symbolizes the installation directory)
- Select a language from the Language menu. Currently, we support
Persian and Turkish in this package.
- Press the button Recompile everything. This will take a while,
depending on the language and your system.
- Select a sentence directory by pressing Select. Select one example
file and all the examples will be displayed in the list. The Turkish
examples we provide are under
...\lang\tur\corpus
All of the Turkish examples are text files (extension .txt). The
Persian examples are under
...\lang\per\corpus
All of the Persian examples are in UTF8 encoding (extension .utf8)
Note that the file selector box usually starts in the folder "My
documents". To find documents for Meat, you need to click your way to
the installation directory (normally "c:\Program Files\Meat" and start
from there.
- Select a specific sentence by double-clicking on one of the items
in the list. The source language text will be displayed in the Source
window (which is not quite readable for the UTF8 examples right now).
- Translate the sentence by clicking on Translate. The result will
be displayed in the Translation window.
- If you are interested in how the sentence was analyzed, click on
Viewer. This will open a chart window with several edges. This is
usually only relevant for developers...
- Quit using the File menu. (note: The Tcl/Tk file selector box
seems to be broke under Windows 98. I get access violations...)
Uninstalling Meat
To uninstall Meat, select Add/Remove Programs in the Control panel,
and select Meat for removal.
|