]> git.pld-linux.org Git - packages/apertium-pn-recogniser.git/blame - apertium-pn-recogniser.spec
- new package
[packages/apertium-pn-recogniser.git] / apertium-pn-recogniser.spec
CommitLineData
26d834de
JB
1Summary: Apertium pipeline module to detect proper nouns
2Summary(pl.UTF-8): Moduł potoku Apertium do rozpoznawania rzeczowników własnych
3Name: apertium-pn-recogniser
4Version: 0.1.0
5Release: 1
6License: GPL v2+
7Group: Applications/Text
8Source0: http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz
9# Source0-md5: 48e23ad48e54b8f5a251a7175cc938b4
10URL: http://www.apertium.org/
11BuildRequires: apertium >= 3.1.0
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake
14BuildRequires: bash
15BuildRequires: libstdc++-devel
16BuildRequires: libtool >= 2:1.5
17BuildRequires: lttoolbox-devel >= 3.1.0
18Requires: apertium >= 3.1.0
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This program is a module for the Apertium pipeline which detects
23proper nouns in the input and marks them as unknown words so that the
24rest of the modules in the pipeline do not process them. This avoids
25the common case of wrong translations of source-language proper nouns
26which are also common nouns according to the dictionaries. The proper
27noun recogniser is mainly based on the one already included in the
28Freeling project (<http://www.lsi.upc.edu/~nlp/freeling/>).
29
30%description -l pl.UTF-8
31Ten program jest modułem dla potoku Apertium wykrywającym na wejściu
32rzeczowniki własnych i zaznaczający je jako nieznane słowa w ten
33sposób, że reszta modułów w potoku nie będzie ich przetwarzała.
34Zapobiega to błędnemu tłumaczeniu rzeczowników własnych z języka
35źródłowego, w którym są także rzeczownikami pospolitymi, występującymi
36w słownikach. Moduł rozpoznający rzeczowniki własne jest oparty
37głównie na module włączonym do projektu Freeling
38(<http://www.lsi.upc.edu/~nlp/freeling/>).
39
40%prep
41%setup -q
42
43%build
44%{__aclocal}
45%{__autoconf}
46%{__automake}
47%configure
48
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc AUTHORS README TODO.txt doc/decisiones-diseno.txt
63%attr(755,root,root) %{_bindir}/apertium-pn-recogniser
64%attr(755,root,root) %{_bindir}/apertium-pn-recogniser-final
This page took 0.059278 seconds and 4 git commands to generate.