Merge pull request #94465 from Mic92/rhasspy-upstream
opengrm-ngram: init at 1.3.11, phonetisaurus: init at 2020-07-31
This commit is contained in:
commit
ab5af376cc
25
pkgs/development/libraries/opengrm-ngram/default.nix
Normal file
25
pkgs/development/libraries/opengrm-ngram/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, autoreconfHook, fetchurl, openfst }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opengrm-ngram";
|
||||
version = "1.3.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.openfst.org/twiki/pub/GRM/NGramDownload/ngram-${version}.tar.gz";
|
||||
sha256 = "0wwpcj8qncdr9f2pmi0vhlw277dyxr85ygdi8g57xp2ifysigm05";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ openfst ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library to make and modify n-gram language models encoded as weighted finite-state transducers";
|
||||
homepage = "http://www.openfst.org/twiki/bin/view/GRM/NGramLibrary";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
32
pkgs/development/libraries/phonetisaurus/default.nix
Normal file
32
pkgs/development/libraries/phonetisaurus/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, openfst
|
||||
, pkg-config
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "phonetisaurus";
|
||||
version = "2020-07-31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AdolfVonKleist";
|
||||
repo = pname;
|
||||
rev = "2831870697de5b4fbcb56a6e1b975e0e1ea10deb";
|
||||
sha256 = "1b18s5zz0l0fhqh9n9jnmgjz2hzprwzf6hx5a12zibmmam3qyriv";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ python3 openfst ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Framework for Grapheme-to-phoneme models for speech recognition using the OpenFst framework";
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -27140,6 +27140,10 @@ in
|
||||
|
||||
openfst = callPackage ../development/libraries/openfst {};
|
||||
|
||||
opengrm-ngram = callPackage ../development/libraries/opengrm-ngram {};
|
||||
|
||||
phonetisaurus = callPackage ../development/libraries/phonetisaurus {};
|
||||
|
||||
duti = callPackage ../os-specific/darwin/duti {};
|
||||
|
||||
dnstracer = callPackage ../tools/networking/dnstracer {
|
||||
|
Loading…
Reference in New Issue
Block a user