SENTENCE ALIGNER ------------------------------- This distribution contains code for a sentence aligner and tokenizer. INSTALL --------------------- To install untar the tar ball (directions below) and connect to the directory created (named sen_align.0-0, or whatever the current version is). RUN ---- See code docs. UNTARRING the TAR Ball (*.tar.gz file) ------------------------------------------ 1. Linux. Conect to the directory containing the tar file on your home machine. Then do. % tar xzvf sen_align-0.0.tar.gz This will create a subdirectory of the download directory called finite-state-transducer-0.0. Connect to that directory (it should contain a file called setup.py) and follow the directions above for installation. 2. Windows. You should use Python's tar package. USING Python's Tar package (for Windows folks) illustrated with Python 2.3.4 [works with that version or later] You should connect to whatever directory you have placed the tar.gz file in on your home machine. THEN start up python there. C:\Downloads > C:\Python24\python.exe --------------------------------------------- Python 2.3.4 (#1, Oct 26 2004, 16:42:40) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tarfile >>> FileObj = tarfile.open('finite-state-transducer-0.0.tar.gz','rb:gz') >>> FileObj >>> for tinfo in FileObj: ... FileObj.extract(tinfo) ... >>> This will create a subdirectory of the download directory called finite-state-transducer-0.0. Connect to that directory (it should contain a file called setup.py) and follow the directions above for installation.