new mosesdecoder package (#36252)

* new mosesdecoder package
* [@spackbot] updating style on behalf of Sangu-Mbekelu

---------

Co-authored-by: Sangu Mbekelu <s.mbekelu9@gmail.com>
This commit is contained in:
Sangu Mbekelu 2023-03-20 19:04:04 -04:00 committed by GitHub
parent b7505aa726
commit 8d8a008ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class Mosesdecoder(Package):
"""An implementation of the statistical approach to machine translation"""
homepage = "http://www2.statmt.org/moses/"
url = "https://github.com/moses-smt/mosesdecoder/archive/refs/tags/RELEASE-4.0.tar.gz"
version("4.0", sha256="357376cdbb225a17cdf17195625d0fa7e10d722807e9e0b8a633ffbd7eec9b8f")
depends_on("git")
depends_on("subversion")
depends_on("cmake")
depends_on("libtool")
depends_on("tcl")
depends_on("gcc")
depends_on("boost")
depends_on("zlib")
depends_on("python")