unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add mitlm.
@ 2016-05-25 13:51 David Thompson
  2016-05-25 22:06 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2016-05-25 13:51 UTC (permalink / raw)
  To: guix-devel; +Cc: David Thompson

From: David Thompson <davet@gnu.org>

* gnu/packages/speech.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
 gnu/local.mk            |  1 +
 gnu/packages/speech.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 gnu/packages/speech.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 9cd9699..0c33934 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -311,6 +311,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/slang.scm			\
   %D%/packages/slim.scm				\
   %D%/packages/smalltalk.scm			\
+  %D%/packages/speech.scm			\
   %D%/packages/ssh.scm				\
   %D%/packages/stalonetray.scm			\
   %D%/packages/statistics.scm			\
diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
new file mode 100644
index 0000000..60ebf67
--- /dev/null
+++ b/gnu/packages/speech.scm
@@ -0,0 +1,51 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages speech)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages gcc))
+
+(define-public mitlm
+  (package
+    (name "mitlm")
+    (version "0.4.1")
+    ;; No official release tarballs, so for now we use the one from Debian
+    ;; that is maintained by one of the project developers.
+    ;;
+    ;; See: https://github.com/mitlm/mitlm/issues/54
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://http.debian.net/debian/pool/main/m/"
+                                  "mitlm/mitlm_" version ".orig.tar.gz"))
+              (sha256
+               (base32
+                "12m09xxx8jbir9cnzzaysvni5sfijpfj96z1x1520qqvmpc8lmn7"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("gfortran" ,gfortran)))
+    (synopsis "The MIT Language Modeling toolkit")
+    (description "The MIT Language Modeling (MITLM) toolkit is a set of
+tools designed for the efficient estimation of statistical n-gram language
+models involving iterative parameter estimation.  It achieves much of its
+efficiency through the use of a compact vector representation of n-grams.")
+    (home-page "https://github.com/mitlm/mitlm")
+    (license license:expat)))
-- 
2.7.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add mitlm.
  2016-05-25 13:51 [PATCH] gnu: Add mitlm David Thompson
@ 2016-05-25 22:06 ` Ludovic Courtès
  2016-05-26 12:59   ` Thompson, David
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-05-25 22:06 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel, David Thompson

David Thompson <dthompson2@worcester.edu> skribis:

> From: David Thompson <davet@gnu.org>
>
> * gnu/packages/speech.scm: New file.
> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

[...]

> +;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>

Please update.

> +              (uri (string-append "http://http.debian.net/debian/pool/main/m/"
> +                                  "mitlm/mitlm_" version ".orig.tar.gz"))

Please use “mirror://debian”.

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add mitlm.
  2016-05-25 22:06 ` Ludovic Courtès
@ 2016-05-26 12:59   ` Thompson, David
  0 siblings, 0 replies; 3+ messages in thread
From: Thompson, David @ 2016-05-26 12:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, David Thompson

On Wed, May 25, 2016 at 6:06 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> David Thompson <dthompson2@worcester.edu> skribis:
>
>> From: David Thompson <davet@gnu.org>
>>
>> * gnu/packages/speech.scm: New file.
>> * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
>
> [...]
>
>> +;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
>
> Please update.
>
>> +              (uri (string-append "http://http.debian.net/debian/pool/main/m/"
>> +                                  "mitlm/mitlm_" version ".orig.tar.gz"))
>
> Please use “mirror://debian”.
>
> Otherwise LGTM, thanks!

Fixed and pushed!

- Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-26 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 13:51 [PATCH] gnu: Add mitlm David Thompson
2016-05-25 22:06 ` Ludovic Courtès
2016-05-26 12:59   ` Thompson, David

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).