TvQuran

Monday, June 29, 2009

How to setup GIZA++ on Windows?


el salamo 3alikom wa ra7matoo ALLAH wa baraktoo

I’ll illustrate in that post how to build GIZA++ under Windows to a pure Windows user.

What is GIZA++?

GIZA++ is a statistical machine translation toolkit one of its main features of the package is text alignment.

Note: The version of GIZA++ I’m going to talk about is uploaded on Mar 20, 2009.

Installation Steps...

  1. Download GIZA++
  2. Extract the files any location you want, using WinRAR for example.
  3. Edit \giza-pp\GIZA++-v2\Makefile, Search for DBINARY_SEARCH_FOR_TTABLE and delete it - more info.
  4. Download Cygwin and choose "gcc-g++", "binutils" and "make" at the Select Packages.
  5. Open Cygwin Bash Shell, navigate to the place you’ve extracted the GIZA++ files, and then start building the project using make command.
  6. Outfiles...
    \giza-pp\GIZA++-v2\GIZA++.exe
    \giza-pp\GIZA++-v2\snt2plain.out
    \giza-pp\GIZA++-v2\plain2snt.out
    \giza-pp\GIZA++-v2\snt2cooc.out

    \giza-pp\mkcls-v2\mkcls.exe

This is my first step to start working with GIZA++. Wait for coming posts about how to use GIZA++, In-Sha'a-ALLAH

Hope you liked the post :).

3 comments:

  1. I did exactly all the steps
    i got error messages
    i downloaded giza++ using the link above(the version indicated) and i did the same for cygdrive.. pls i need help
    i got the same error messages indicated in the "see more" section
    i am using windows vista
    thank you

    ReplyDelete
  2. make command is not recognized in cygwin

    ReplyDelete