LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File giza-pp.spec of Package giza-pp (Project home:inescid:language)

Summary: Machine translation toolkit (IBM Models 1-5 and HMM word alignment model)
Name: giza-pp
Version: 1.0.7
Release: 0.l2f
License: GPLv2
Url: http://code.google.com/p/giza-pp/

Group: L2F
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
#Provides: giza-pp

GIZA++ is a statical machine translation toolkit that is used to train IBM
Models 1-5 and an HMM word alignment model. For more information on the origins
of these tools, refer to http://www.fjoch.com/GIZA++.html
and http://www.fjoch.com/mkcls.html. 

If you make use of GIZA++ for research or commercial purposes, please cite:
  * Franz Josef Och, Hermann Ney. "A Systematic Comparison of Various
    Statistical Alignment Models", Computational Linguistics, volume 29,
    number 1, pp. 19-51 March 2003. 



mkdir -p $RPM_BUILD_ROOT/usr/bin/
mv GIZA++-v2/GIZA++ GIZA++-v2/plain2snt.out GIZA++-v2/snt2cooc.out GIZA++-v2/snt2plain.out mkcls-v2/mkcls $RPM_BUILD_ROOT/usr/bin/

find ./usr/bin/ -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list
find ./usr/bin/ -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list
find ./usr/bin/ -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list


%files -f ../file.list


* Mon Apr 09 2012 tiago.luis@l2f.inesc-id.pt
- updated to the version 1.0.7