mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Add openfst-for-vosk.
* gnu/packages/machine-learning.scm (openfst-for-vosk): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f36522416e
commit
9ca6416a19
1 changed files with 16 additions and 0 deletions
|
@ -583,6 +583,22 @@ (define-public openfst-1.7.3
|
||||||
(arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14")
|
(arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14")
|
||||||
#:make-flags '("CXXFLAGS=-std=c++14")))))
|
#:make-flags '("CXXFLAGS=-std=c++14")))))
|
||||||
|
|
||||||
|
(define openfst-for-vosk
|
||||||
|
(package
|
||||||
|
(inherit openfst)
|
||||||
|
(version "1.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://www.openfst.org/twiki/pub/FST/"
|
||||||
|
"FstDownload/openfst-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0h2lfhhihg63b804hrcljnkggijbjmp84i5g8q735wb09y9z2c4p"))))
|
||||||
|
(arguments
|
||||||
|
'(#:configure-flags
|
||||||
|
'("--enable-shared" "--enable-far" "--enable-ngram-fsts"
|
||||||
|
"--enable-lookahead-fsts" "--with-pic" "--disable-bin")))))
|
||||||
|
|
||||||
(define-public shogun
|
(define-public shogun
|
||||||
(package
|
(package
|
||||||
(name "shogun")
|
(name "shogun")
|
||||||
|
|
Loading…
Reference in a new issue