SHA256
1
0
forked from pool/libvoikko

Rewrite descriptions to reflect the current status as multiple backend, multiple language library.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvoikko?expand=0&rev=35
This commit is contained in:
Timo Jyrinki 2019-02-27 07:55:09 +00:00 committed by Git OBS Bridge
parent 47c256eaba
commit eac356180a

View File

@ -19,7 +19,7 @@
Name: libvoikko Name: libvoikko
Version: 4.2 Version: 4.2
Release: 0 Release: 0
Summary: Spellchecker and Hyphenator for Finnish Language Summary: Library of free natural language processing tools
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Text/Spell Group: Productivity/Text/Spell
URL: http://voikko.puimula.org URL: http://voikko.puimula.org
@ -35,36 +35,71 @@ BuildRequires: python3-xml
BuildRequires: pkgconfig(hfstospell) BuildRequires: pkgconfig(hfstospell)
%description %description
Voikko is a Finnish spellchecker and hyphenator based on Malaga and Libvoikko is a library of free natural language processing tools. It
Suomi-Malaga. aims to provide support for languages that are not well served by
other existing free linguistic tools.
The library supports multiple backends, of which VFST and HFST are
enabled in the default build:
- VFST: Finite state transducer format used for Finnish morphology
and as an experimental language independent backend.
- HFST (Helsinki Finite-State Transducer Technology): Supports ZHFST
speller archives for various languages.
- Experimental backends: Weighted VFST and Lttoolbox.
Libvoikko provides spell checking, hyphenation, grammar checking and
morphological analysis for Finnish language. Spell checking is
supported for other languages through the HFST backend.
%package -n libvoikko1 %package -n libvoikko1
Summary: Spellchecker and Hyphenator for Finnish Language Summary: Library of free natural language processing tools
Group: System/Libraries Group: System/Libraries
Requires: malaga-suomi Requires: malaga-suomi
%description -n libvoikko1 %description -n libvoikko1
Voikko is a Finnish spellchecker and hyphenator based on Malaga and Libvoikko is a library of free natural language processing tools. It
Suomi-Malaga. aims to provide support for languages that are not well served by
other existing free linguistic tools.
The library supports multiple backends, of which VFST and HFST are
enabled in the default build:
- VFST: Finite state transducer format used for Finnish morphology
and as an experimental language independent backend.
- HFST (Helsinki Finite-State Transducer Technology): Supports ZHFST
speller archives for various languages.
- Experimental backends: Weighted VFST and Lttoolbox.
Libvoikko provides spell checking, hyphenation, grammar checking and
morphological analysis for Finnish language. Spell checking is
supported for other languages through the HFST backend.
%package devel %package devel
Summary: Spellchecker and Hyphenator for Finnish Language Summary: Library of free natural language processing tools
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libvoikko1 = %{version} Requires: libvoikko1 = %{version}
%description devel %description devel
Voikko is a Finnish spellchecker and hyphenator based on Malaga and Libvoikko is a library of free natural language processing tools. It
Suomi-Malaga. aims to provide support for languages that are not well served by
other existing free linguistic tools.
This package contains the files needed to build or develop applications
that use Voikko.
%package -n voikkospell %package -n voikkospell
Summary: Spellchecker and Hyphenator for Finnish Language Summary: Test program for Voikko spell checker
Group: Productivity/Text/Spell Group: Productivity/Text/Spell
Requires: libvoikko1 = %{version} Requires: libvoikko1 = %{version}
%description -n voikkospell %description -n voikkospell
Voikko is a Finnish spellchecker and hyphenator based on Malaga and Libvoikko is a library of free natural language processing tools. It
Suomi-Malaga. aims to provide support for languages that are not well served by
other existing free linguistic tools.
This package contains a test program for using Voikko spell checker.
%package -n python3-libvoikko %package -n python3-libvoikko
Summary: Python interface to %{name} Summary: Python interface to %{name}
@ -73,9 +108,12 @@ Requires: libvoikko1 = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%description -n python3-libvoikko %description -n python3-libvoikko
Python interface to libvoikko, library of language tools. Libvoikko is a library of free natural language processing tools. It
This module can be used to perform various natural language analysis aims to provide support for languages that are not well served by
tasks on text. other existing free linguistic tools.
This package contains a Python interface to libvoikko. This module
can be used to perform various natural language analysis tasks on text.
%prep %prep
%setup -q %setup -q