;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Amirouche Boubekki ;;; ;;; 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 . (define-module (gnu packages link-grammar) #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module ((guix licenses) #:select (lgpl2.1+)) #:use-module (guix download) #:use-module (gnu packages) #:use-module (gnu packages databases) #:use-module (gnu packages compression)) (define-public link-grammar (package (name "link-grammar") (version "5.3.11") (source (origin (method url-fetch) (uri (string-append "http://www.abiword.org/downloads/link-grammar/" version "/link-grammar-" version ".tar.gz")) (sha256 (base32 "1mqc2zhq360k2xslsjw5x8nfmbsk55x03dvyhb7bzpf75vl3mjkk")))) (build-system gnu-build-system) (inputs `(("sqlite" ,sqlite) ("zlib" ,zlib))) (home-page "http://www.abisource.com/projects/link-grammar/") (synopsis "Syntactic parser for several language") (description "Link Grammar is a syntactic parser of English, Russian, Arabic and Persian (and other languages as well), based on Link Grammar, an original theory of syntax and morphology. Given a sentence, the system assigns to it a syntactic structure, which consists of a set of labelled links connecting pairs of words. The parser also produces a \"constituent\" (HPSG style phrase tree) representation of a sentence (showing noun phrases, verb phrases, etc.). ") (license lgpl2.1+)))