summary refs log tree commit diff
diff options
context:
space:
mode:
authorAurora <rind38@disroot.org>2022-03-23 15:53:43 +0000
committerLudovic Courtès <ludo@gnu.org>2022-05-15 22:49:50 +0200
commit7c204281ff0b57de59261cd7b68fab3df1c0f49c (patch)
treeca1d9343d9e807d171f7b0f85f68326ac2caba36
parentd60b9f8d0ffd19ab5c1da465eb332d299cf7a81b (diff)
downloadguix-7c204281ff0b57de59261cd7b68fab3df1c0f49c.tar.gz
gnu: openfst: Update to 1.8.2, enable ngram extension
This extension is required by some programs that depend on openfst that aren't
yet packaged.

* gnu/packages/machine-learning.scm (openfst): Update to 1.8.2.
[arguments]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/machine-learning.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 5ca70bd3d5..9a3073d3dc 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -570,15 +570,16 @@ sample proximities between pairs of cases.")
 (define-public openfst
   (package
     (name "openfst")
-    (version "1.7.9")
+    (version "1.8.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "http://www.openfst.org/twiki/pub/FST/"
                                   "FstDownload/openfst-" version ".tar.gz"))
               (sha256
                (base32
-                "1pmx1yhn2gknj0an0zwqmzgwjaycapi896244np50a8y3nrsw6ck"))))
+                "0hlbdmjjf1jgsvi3d2hwni5lz3l9a5bzj6ijpbawa8a7cbrpp66y"))))
     (build-system gnu-build-system)
+    (arguments '(#:configure-flags '("--enable-ngram-fsts")))
     (home-page "http://www.openfst.org")
     (synopsis "Library for weighted finite-state transducers")
     (description "OpenFst is a library for constructing, combining,