From d2710953891d188754f2d50283207c4459fac21b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 18 Oct 2025 14:02:43 +0200 Subject: [PATCH] gnu: Add cmudict. * gnu/packages/dictionaries.scm (cmudict): New variable. Change-Id: I7b8d75bf9c3f82913fc856598fa66cb434ca7c66 Signed-off-by: Sharlatan Hellseher --- gnu/packages/dictionaries.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 55cd6fbf40ed0826f9f8fad88541e93ce9232b8c..4d206148a32e3409cc4ad1ee7d040a2a5b46c0bc 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -75,6 +75,39 @@ #:use-module (gnu packages wordnet) #:use-module (gnu packages xml)) +(define-public cmudict + (package + (name "cmudict") + (properties '((commit . "0f8072f814306c5ee4fbf992ed853601b12c01f9") + (revision . "0"))) + (version (git-version "0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cmusphinx/cmudict") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ri9r9ljbwv282lmv9cp3gmbwlanf99nhzvw83fjf12bc4nxl0qd")))) + (build-system copy-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (delete 'install-license-files)))) + (home-page "https://github.com/cmusphinx/cmudict") + (synopsis "Pronouncing English dictionary") + (description + "CMUdict (the Carnegie Mellon Pronouncing Dictionary) is a free +pronouncing dictionary of English, suitable for uses in speech technology and +is maintained by the Speech Group in the School of Computer Science at +Carnegie Mellon University.") + (license (license:fsdg-compatible + "https://github.com/cmusphinx/cmudict/blob/master/LICENSE")))) + (define-public dico (package (name "dico")