From eac356180ad31c18ef2a3a2eea009b5c03c80072e4c74e9f95dfe2b62d38000e Mon Sep 17 00:00:00 2001 From: Timo Jyrinki Date: Wed, 27 Feb 2019 07:55:09 +0000 Subject: [PATCH] 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 --- libvoikko.spec | 68 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 15 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index e3c17e7..049bd78 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -19,7 +19,7 @@ Name: libvoikko Version: 4.2 Release: 0 -Summary: Spellchecker and Hyphenator for Finnish Language +Summary: Library of free natural language processing tools License: GPL-2.0-or-later Group: Productivity/Text/Spell URL: http://voikko.puimula.org @@ -35,36 +35,71 @@ BuildRequires: python3-xml BuildRequires: pkgconfig(hfstospell) %description -Voikko is a Finnish spellchecker and hyphenator based on Malaga and -Suomi-Malaga. +Libvoikko is a library of free natural language processing tools. It +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 -Summary: Spellchecker and Hyphenator for Finnish Language +Summary: Library of free natural language processing tools Group: System/Libraries Requires: malaga-suomi %description -n libvoikko1 -Voikko is a Finnish spellchecker and hyphenator based on Malaga and -Suomi-Malaga. +Libvoikko is a library of free natural language processing tools. It +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 -Summary: Spellchecker and Hyphenator for Finnish Language +Summary: Library of free natural language processing tools Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libvoikko1 = %{version} %description devel -Voikko is a Finnish spellchecker and hyphenator based on Malaga and -Suomi-Malaga. +Libvoikko is a library of free natural language processing tools. It +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 -Summary: Spellchecker and Hyphenator for Finnish Language +Summary: Test program for Voikko spell checker Group: Productivity/Text/Spell Requires: libvoikko1 = %{version} %description -n voikkospell -Voikko is a Finnish spellchecker and hyphenator based on Malaga and -Suomi-Malaga. +Libvoikko is a library of free natural language processing tools. It +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 Summary: Python interface to %{name} @@ -73,9 +108,12 @@ Requires: libvoikko1 = %{version}-%{release} BuildArch: noarch %description -n python3-libvoikko -Python interface to libvoikko, library of language tools. -This module can be used to perform various natural language analysis -tasks on text. +Libvoikko is a library of free natural language processing tools. It +aims to provide support for languages that are not well served by +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 %setup -q