blob: cf4984229129670a3e233daf59e4f82f09b39ddb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "openfst";
version = "1.8.2";
src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${pname}-${version}.tar.gz";
sha256 = "sha256-3ph782JHIcXVujIa+VdRiY5PS7Qcijbi1k8GJ2Vti0I=";
};
configureFlags = [
"--enable-compact-fsts"
"--enable-compress"
"--enable-const-fsts"
"--enable-far"
"--enable-linear-fsts"
"--enable-lookahead-fsts"
"--enable-mpdt"
"--enable-ngram-fsts"
"--enable-pdt"
];
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Library for working with finite-state transducers";
longDescription = ''
Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).
FSTs have key applications in speech recognition and synthesis, machine translation, optical character recognition,
pattern matching, string processing, machine learning, information extraction and retrieval among others
'';
homepage = "https://www.openfst.org/twiki/bin/view/FST/WebHome";
license = licenses.asl20;
maintainers = [ maintainers.dfordivam ];
platforms = platforms.unix;
};
}
|