Author: qboosh Date: Fri Dec 17 20:05:29 2010 GMT Module: packages Tag: HEAD ---- Log message: - new package
---- Files affected: packages/apertium-pn-recogniser: apertium-pn-recogniser.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/apertium-pn-recogniser/apertium-pn-recogniser.spec diff -u /dev/null packages/apertium-pn-recogniser/apertium-pn-recogniser.spec:1.1 --- /dev/null Fri Dec 17 21:05:29 2010 +++ packages/apertium-pn-recogniser/apertium-pn-recogniser.spec Fri Dec 17 21:05:20 2010 @@ -0,0 +1,74 @@ +# $Revision$, $Date$ +Summary: Apertium pipeline module to detect proper nouns +Summary(pl.UTF-8): Moduł potoku Apertium do rozpoznawania rzeczowników własnych +Name: apertium-pn-recogniser +Version: 0.1.0 +Release: 1 +License: GPL v2+ +Group: Applications/Text +Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz +# Source0-md5: 48e23ad48e54b8f5a251a7175cc938b4 +URL: http://www.apertium.org/ +BuildRequires: apertium >= 3.1.0 +BuildRequires: autoconf >= 2.50 +BuildRequires: automake +BuildRequires: bash +BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:1.5 +BuildRequires: lttoolbox-devel >= 3.1.0 +Requires: apertium >= 3.1.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This program is a module for the Apertium pipeline which detects +proper nouns in the input and marks them as unknown words so that the +rest of the modules in the pipeline do not process them. This avoids +the common case of wrong translations of source-language proper nouns +which are also common nouns according to the dictionaries. The proper +noun recogniser is mainly based on the one already included in the +Freeling project (<http://www.lsi.upc.edu/~nlp/freeling/>). + +%description -l pl.UTF-8 +Ten program jest modułem dla potoku Apertium wykrywającym na wejściu +rzeczowniki własnych i zaznaczający je jako nieznane słowa w ten +sposób, że reszta modułów w potoku nie będzie ich przetwarzała. +Zapobiega to błędnemu tłumaczeniu rzeczowników własnych z języka +źródłowego, w którym są także rzeczownikami pospolitymi, występującymi +w słownikach. Moduł rozpoznający rzeczowniki własne jest oparty +głównie na module włączonym do projektu Freeling +(<http://www.lsi.upc.edu/~nlp/freeling/>). + +%prep +%setup -q + +%build +%{__aclocal} +%{__autoconf} +%{__automake} +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS README TODO.txt doc/decisiones-diseno.txt +%attr(755,root,root) %{_bindir}/apertium-pn-recogniser +%attr(755,root,root) %{_bindir}/apertium-pn-recogniser-final + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/12/17 20:05:20 qboosh +- new package ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
