]> git.pld-linux.org Git - packages/apertium-pn-recogniser.git/commitdiff
- new package master
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Dec 2010 20:05:20 +0000 (20:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apertium-pn-recogniser.spec -> 1.1

apertium-pn-recogniser.spec [new file with mode: 0644]

diff --git a/apertium-pn-recogniser.spec b/apertium-pn-recogniser.spec
new file mode 100644 (file)
index 0000000..503cdc7
--- /dev/null
@@ -0,0 +1,64 @@
+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
This page took 0.083618 seconds and 4 git commands to generate.