[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
371/416: gnu: Add mecab-unidic.
From: |
guix-commits |
Subject: |
371/416: gnu: Add mecab-unidic. |
Date: |
Fri, 14 Apr 2023 15:26:27 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c16251be058c221100a6acfd46e41929b613df9d
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Mon Jul 4 21:42:02 2022 +0200
gnu: Add mecab-unidic.
* gnu/packages/language.scm (mecab-unidic): New variable.
---
gnu/packages/language.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index f643136873..208fab4f5b 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -1006,3 +1006,28 @@ Corporation. The engine is independent of any language,
dictionary or corpus.")
(description "This package contains dictionnary data derived from
ipadic for use with MeCab.")
(license (license:non-copyleft "mecab-ipadic/COPYING"))))
+
+(define-public mecab-unidic
+ (package
+ (name "mecab-unidic")
+ (version "3.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://clrd.ninjal.ac.jp/unidic_archive/cwj/"
+ version "/unidic-cwj-" version ".zip"))
+ (sha256
+ (base32
+ "1z132p2q3bgchiw529j2d7dari21kn0fhkgrj3vcl0ncg2m521il"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan
+ '(("." "lib/mecab/dic"
+ #:include-regexp ("\\.bin$" "\\.def$" "\\.dic$" "dicrc")))))
+ (native-inputs (list unzip))
+ (home-page "https://clrd.ninjal.ac.jp/unidic/en/")
+ (synopsis "Dictionary data for MeCab")
+ (description "UniDic for morphological analysis is a dictionary for
+analysis with the morphological analyser MeCab, where the short units exported
+from the database are used as entries (heading terms).")
+ ;; triple-licensed (at the user’s choice)
+ (license (list license:gpl2+ license:lgpl2.1 license:bsd-3))))
- 252/416: gnu: qtscxml: Update to 5.15.8., (continued)
- 252/416: gnu: qtscxml: Update to 5.15.8., guix-commits, 2023/04/14
- 270/416: gnu: hdf5@1.10: Update to 1.10.9., guix-commits, 2023/04/14
- 273/416: gnu: hdf5-1.8: Delete trailing #t., guix-commits, 2023/04/14
- 276/416: gnu: ucd: Update to 15.0.0., guix-commits, 2023/04/14
- 353/416: gnu: python-celery: Use python-pytest-7.1., guix-commits, 2023/04/14
- 347/416: gnu: rust-pem-1: Update to 1.1.1., guix-commits, 2023/04/14
- 364/416: gnu: gst-plugins-ugly: Update to 1.22.2., guix-commits, 2023/04/14
- 357/416: gnu: xpra: Remove input labels and use gexps., guix-commits, 2023/04/14
- 366/416: gnu: gst-editing-services: Update to 1.22.2., guix-commits, 2023/04/14
- 368/416: gnu: libexif: Update home page., guix-commits, 2023/04/14
- 371/416: gnu: Add mecab-unidic.,
guix-commits <=
- 369/416: gnu: Add mecab., guix-commits, 2023/04/14
- 372/416: gnu: Separate potassco packages into their own module., guix-commits, 2023/04/14
- 378/416: gnu: Add r-targets., guix-commits, 2023/04/14
- 385/416: news: Add entry for the linux-libre-lts 6.1 update., guix-commits, 2023/04/14
- 391/416: gnu: emacs-gptel: Update to 0.3.2., guix-commits, 2023/04/14
- 387/416: gnu: Add python-sentencepiece., guix-commits, 2023/04/14
- 404/416: gnu: python-lz4: Update to 4.3.2., guix-commits, 2023/04/14
- 414/416: gnu: ansible-core: Update to 2.14.4., guix-commits, 2023/04/14
- 393/416: Revert "gnu: opendht: Update to 2.5.2.", guix-commits, 2023/04/14
- 416/416: Revert "gnu: python-h5py: Update to 3.8.0.", guix-commits, 2023/04/14