]> git.pld-linux.org Git - packages/apertium-pn-recogniser.git/blob - apertium-pn-recogniser.spec
- new package
[packages/apertium-pn-recogniser.git] / apertium-pn-recogniser.spec
1 Summary:        Apertium pipeline module to detect proper nouns
2 Summary(pl.UTF-8):      Moduł potoku Apertium do rozpoznawania rzeczowników własnych
3 Name:           apertium-pn-recogniser
4 Version:        0.1.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Text
8 Source0:        http://downloads.sourceforge.net/apertium/%{name}-%{version}.tar.gz
9 # Source0-md5:  48e23ad48e54b8f5a251a7175cc938b4
10 URL:            http://www.apertium.org/
11 BuildRequires:  apertium >= 3.1.0
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  bash
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool >= 2:1.5
17 BuildRequires:  lttoolbox-devel >= 3.1.0
18 Requires:       apertium >= 3.1.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This program is a module for the Apertium pipeline which detects
23 proper nouns in the input and marks them as unknown words so that the
24 rest of the modules in the pipeline do not process them. This avoids
25 the common case of wrong translations of source-language proper nouns
26 which are also common nouns according to the dictionaries. The proper
27 noun recogniser is mainly based on the one already included in the
28 Freeling project (<http://www.lsi.upc.edu/~nlp/freeling/>).
29
30 %description -l pl.UTF-8
31 Ten program jest modułem dla potoku Apertium wykrywającym na wejściu
32 rzeczowniki własnych i zaznaczający je jako nieznane słowa w ten
33 sposób, że reszta modułów w potoku nie będzie ich przetwarzała.
34 Zapobiega 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
36 w słownikach. Moduł rozpoznający rzeczowniki własne jest oparty
37 głó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
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -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.070233 seconds and 3 git commands to generate.