From nobody Sun Apr 03 20:23:53 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 85DBC1A593D5; Sun, 3 Apr 2022 20:23:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KWljj33X9z3PW3; Sun, 3 Apr 2022 20:23:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649017433; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X8XUuZkIdq7jEC2uLSZdiNbHCAdBTE41LU5Yh+JZGKI=; b=mTVwqNDNa9vzPHGFfFtH/Fprbr8DL2MFG1bHy9JK6gnH5hvOcog1j6mnnmub+VmAeR5p2J yL4Gdt22DreJ6+stTApR4xS/+SwTye7ry8nKtQFqiXzmufF1WtH/oE8TqsHsDjIcWLdNKQ SgN6Q4rpnxok7Hbli0DMIavABrmCs2kK7F7GNjT+HwUgiqS+jE7Kqs57pDERKt7+0zPAn7 t0a4dkEzmmhfA7Ib8xrZ6iKgGtQ8+gkot4QbEWK8M4EuHKvmevE1EQmiGm9jyPP1kCqKRR GP1PFkqqqSiwtv+AgX9N68hyOfbfZfFu0LVLPXDHR1h2c+U6jQrvr/j0D+oRpQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 492A924163; Sun, 3 Apr 2022 20:23:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 233KNrhC000391; Sun, 3 Apr 2022 20:23:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 233KNrKw000390; Sun, 3 Apr 2022 20:23:53 GMT (envelope-from git) Date: Sun, 3 Apr 2022 20:23:53 GMT Message-Id: <202204032023.233KNrKw000390@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 125faea51f6c - main - textproc/cg3: New Port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 125faea51f6c625e67562fe1436c35d871468e8c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649017433; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X8XUuZkIdq7jEC2uLSZdiNbHCAdBTE41LU5Yh+JZGKI=; b=wRkwH0d1mpvmigfYzQiHX9b6+yXjLBoOw5aGrL4Syt01d8UuwoRZCm/7SqTTVdsYDmMxn/ x95BiHH6gWy4rWOFC8edBd8paFIpq9+AomVFgmUb2mrThuHGvWTFRrsGTuDvePpf3y4AU9 YnT2TMOfDEvpDGDaRIpBiKF4et51aMICHKV3xXgCI4bfP7N/rraEIJXjDidQH+9EUppOae C3pq6PXM+IAk+lz+ZEN6h1wanGUqawJdtmqQA5FDXvT/HOF52KHZ0sT4hllFF9M6LLlE1E pFpXcOiwqOVmSqSDrAGgUYXv9pvFgVV+vpSjAMyeSPof1O9GSOoyU7K78zxMdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649017433; a=rsa-sha256; cv=none; b=EGgRctZJ5D83L3dZ5r7+TCblCxYr12teWm0ZszWX2uo1Gdmi6vjF7hOhaJINiQtERPwO/D qkT1k2VcOGoC8czlnhdAHXD7YyutWly+xTVplTF/xkRTz8+iMBAabvXqzuF2VU7MLziQiH rsuxZ1KQLqANtfrjPa1UDstI8zu6NCV499MDi4N7EcnXGi5L52S9D2R/AyM6iE1tChO8cQ qE5oPR3QvYMyzWzRlfolqSDh7IwgSMmxBwxUy+7mT4glDfGBFnzxBWrkLc0s7l7dFeMyEc PgI9RtEKlTiW+o4A/gs/fIj8NdZzeSFvhpxljgpBQ6j0A+WGpPQhAgbN7Q2qFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=125faea51f6c625e67562fe1436c35d871468e8c commit 125faea51f6c625e67562fe1436c35d871468e8c Author: Muhammad Moinur Rahman AuthorDate: 2022-04-03 20:23:04 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-04-03 20:23:04 +0000 textproc/cg3: New Port Constraint Grammar (CG) parsers are at the core of most of VISL's live applications. The Constraint Grammar concept was launched by Fred Karlsson in the early 90'ies (Karlsson et.al.1995), and CG parsers have since been written for a large variety of languages, routinely achieving F-scores for PoS (word class) of over 99%. A number of syntactic CG systems have reported F-scores of around 95%. VISL's own Constraint Grammar systems are inspired by Eckhard Bick's PALAVRAS parser for Portuguese (Bick 2000), and use, as a novelty, subclause function, generalized dependency markers and semantic prototype tags. For most languages, a lexicon based morphological analyzer provides input to the first CG level, while the output of the last CG-level can be converted into syntactic tree structures by specially designed Phrase Structure Grammars (PSG's), using syntactic functions, not words, as terminals. Other, hybrid combinations are, however, feasible. Thus, the French system uses PoS information from a probabilistic tagger. WWW: https://visl.sdu.dk/constraint_grammar.html --- textproc/Makefile | 1 + textproc/cg3/Makefile | 24 ++++++++++++++++++++++++ textproc/cg3/distinfo | 3 +++ textproc/cg3/pkg-descr | 17 +++++++++++++++++ textproc/cg3/pkg-plist | 20 ++++++++++++++++++++ 5 files changed, 65 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 34809e625d01..29d501eaec0b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -87,6 +87,7 @@ SUBDIR += castxml SUBDIR += catdoc SUBDIR += cdif + SUBDIR += cg3 SUBDIR += cgrep SUBDIR += chkascii SUBDIR += chpp diff --git a/textproc/cg3/Makefile b/textproc/cg3/Makefile new file mode 100644 index 000000000000..a01741a5cf9d --- /dev/null +++ b/textproc/cg3/Makefile @@ -0,0 +1,24 @@ +PORTNAME= cg3 +PORTVERSION= 1.3.6 +DISTVERSIONPREFIX= v +CATEGORIES= textproc + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Tools for the Constraint Grammar formalism + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \ + libicuuc.so:devel/icu + +USES= cmake +USE_GITHUB= yes +GH_ACCOUNT= GrammarSoft +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e '/D_POSIX_C_SOURCE/d' \ + ${WRKSRC}/CMakeLists.txt + +.include diff --git a/textproc/cg3/distinfo b/textproc/cg3/distinfo new file mode 100644 index 000000000000..5b68d4320693 --- /dev/null +++ b/textproc/cg3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1648840020 +SHA256 (GrammarSoft-cg3-v1.3.6_GH0.tar.gz) = 6ad782fea6204d5899186fc6ad41ef36de94304b4221c388d64abb927f48bc5b +SIZE (GrammarSoft-cg3-v1.3.6_GH0.tar.gz) = 365386 diff --git a/textproc/cg3/pkg-descr b/textproc/cg3/pkg-descr new file mode 100644 index 000000000000..bb016db8040e --- /dev/null +++ b/textproc/cg3/pkg-descr @@ -0,0 +1,17 @@ +Constraint Grammar (CG) parsers are at the core of most of VISL's live +applications. The Constraint Grammar concept was launched by Fred +Karlsson in the early 90'ies (Karlsson et.al.1995), and CG parsers have +since been written for a large variety of languages, routinely achieving +F-scores for PoS (word class) of over 99%. A number of syntactic CG +systems have reported F-scores of around 95%. VISL's own Constraint +Grammar systems are inspired by Eckhard Bick's PALAVRAS parser for +Portuguese (Bick 2000), and use, as a novelty, subclause function, +generalized dependency markers and semantic prototype tags. For most +languages, a lexicon based morphological analyzer provides input to the +first CG level, while the output of the last CG-level can be converted +into syntactic tree structures by specially designed Phrase Structure +Grammars (PSG's), using syntactic functions, not words, as terminals. +Other, hybrid combinations are, however, feasible. Thus, the French +system uses PoS information from a probabilistic tagger. + +WWW: https://visl.sdu.dk/constraint_grammar.html diff --git a/textproc/cg3/pkg-plist b/textproc/cg3/pkg-plist new file mode 100644 index 000000000000..84deeacee2b7 --- /dev/null +++ b/textproc/cg3/pkg-plist @@ -0,0 +1,20 @@ +bin/cg-comp +bin/cg-conv +bin/cg-mwesplit +bin/cg-proc +bin/cg-relabel +bin/cg-sort +bin/cg-strictify +bin/cg-untrace +bin/cg3-autobin.pl +bin/vislcg3 +include/cg3.h +lib/libcg3.so +lib/libcg3.so.1 +libdata/pkgconfig/cg3.pc +man/man1/cg-comp.1.gz +man/man1/cg-conv.1.gz +man/man1/cg-proc.1.gz +man/man1/cg3-autobin.pl.1.gz +man/man1/vislcg3.1.gz +share/emacs/site-lisp/cg.el