civodul pushed a commit to branch staging
in repository guix.
commit 8c7e4a969822af265d62c27c5f68050d06637563
Author: Aurora <[email protected]>
AuthorDate: Thu Mar 24 19:59:31 2022 +0000
gnu: openfst: Add 1.7.3 for kaldi
Kaldi is currently broken with openfst versions newer than 1.7.3 as it
changed
some of its function signatures.
Once Kaldi is patched/fixed, this should be removed.
Reference Issues:
- https://github.com/kaldi-asr/kaldi/issues/4131
- https://github.com/kaldi-asr/kaldi/issues/4393
* gnu/packages/machine-learning.scm (openfst-1.7.3): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/machine-learning.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 7f082ee677..0adf971e20 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -585,6 +585,19 @@ sample proximities between pairs of cases.")
optimizing, and searching weighted finite-state transducers (FSTs).")
(license license:asl2.0)))
+;; This is a temporary addition to bypass upstream issues with the kaldi
+;; package.
+(define-public openfst-1.7.3
+ (package (inherit openfst)
+ (version "1.7.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://www.openfst.org/twiki/pub/FST/"
+ "FstDownload/openfst-" version ".tar.gz"))
+ (sha256
+ (base32
+ "038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q"))))))
+
(define-public shogun
(package
(name "shogun")