all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jussi Timperi <jussi.timperi@iki.fi>
To: 66049@debbugs.gnu.org
Subject: [bug#66049] [PATCH 4/4] gnu: Add voikko-fi.
Date: Sun, 17 Sep 2023 15:26:25 +0300	[thread overview]
Message-ID: <126a7817b7f96c98a9a4a92e50cd1b4704673246.1694949552.git.jussi.timperi@iki.fi> (raw)
In-Reply-To: <cover.1694949552.git.jussi.timperi@iki.fi>

* gnu/packages/language.scm (voikko-fi): New variable.
---
 gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 7bfd67cea0..85aaa30a8e 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -1287,3 +1287,36 @@ (define-public libvoikko
 Hunspell or other existing free linguistic tools.")
     ;; Library and default backends are under tri-license.
     (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1))))
+
+(define-public voikko-fi
+  (package
+    (name "voikko-fi")
+    (version "2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://www.puimula.org/voikko-sources/voikko-fi/"
+                    "voikko-fi-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1w90qqp00621hwbgqqxyag60xdjpmz5ba8xzawwif9i5ashb1j9v"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:tests? #f ;no tests
+           #:make-flags #~(list (string-append "DESTDIR="
+                                               #$output "/lib/voikko"))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'configure)
+                        (replace 'install
+                          (lambda* (#:key make-flags #:allow-other-keys)
+                            (apply invoke "make" "vvfst-install" make-flags))))))
+    (native-inputs (list foma libvoikko python-minimal))
+    (home-page "https://voikko.puimula.org")
+    (synopsis "Finnish dictionary for Voikko")
+    (description
+     "Voikko-fi (previously know as Suomi-malaga) is a description of Finnish
+morphology written for libvoikko.
+
+The implementation uses unweighted @acronym{VFST, Varissuo Finite-State
+Transducer} format and provides format 5 Finnish dictionary for libvoikko.")
+    (license license:gpl2+)))
-- 
2.41.0





  parent reply	other threads:[~2023-09-17 13:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-17 12:20 [bug#66049] [PATCH 0/4] Add Voikko Jussi Timperi
2023-09-17 12:26 ` [bug#66049] [PATCH 1/4] gnu: Add hfst-ospell Jussi Timperi
2023-09-17 12:26 ` [bug#66049] [PATCH 2/4] gnu: Add foma Jussi Timperi
2023-09-24 16:15   ` [bug#66049] [PATCH 0/4] Add Voikko Bruno Victal
2023-09-26 12:11     ` Jussi Timperi
2023-09-17 12:26 ` [bug#66049] [PATCH 3/4] gnu: Add libvoikko Jussi Timperi
2023-09-17 12:26 ` Jussi Timperi [this message]
2023-09-17 19:20 ` [bug#66049] [PATCH 0/4] Add Voikko Saku Laesvuori via Guix-patches via
2023-09-26 12:09 ` [bug#66049] [PATCH v2 1/4] gnu: Add hfst-ospell Jussi Timperi
2023-09-26 12:09   ` [bug#66049] [PATCH v2 2/4] gnu: Add foma Jussi Timperi
2023-09-26 12:09   ` [bug#66049] [PATCH v2 3/4] gnu: Add libvoikko Jussi Timperi
2023-09-26 12:09   ` [bug#66049] [PATCH v2 4/4] gnu: Add voikko-fi Jussi Timperi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=126a7817b7f96c98a9a4a92e50cd1b4704673246.1694949552.git.jussi.timperi@iki.fi \
    --to=jussi.timperi@iki.fi \
    --cc=66049@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.