textproc/cg3 1.5.1_1 FreeBSD
Tools for the Constraint Grammar formalism
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
97a84ef467- License
- GPLv3
- Categories
- textproc
- Package size
- 443.2 KiB, 1287.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/cg3 | 1.5.1_1 |
| DragonFly | textproc/cg3 | 1.3.6_11 |
| HardenedBSD | textproc/cg3 | 1.5.1_1 |
| GhostBSD | textproc/cg3 | 1.5.1 |
Install
Binary package:
pkg install cg3
From the ports tree:
cd /usr/ports/textproc/cg3/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cg3>0:textproc/cg3
LIB_DEPENDS= libcg3.so:textproc/cg3
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5.1_1 | 1.5.1_1 | 1.3.6_5 | 1.3.6_12 | 1.5.1_1 |
| FreeBSD:14:quarterly | 1.5.1_1 | 1.5.1_1 | n/a | 1.3.6_12 | 1.5.1_1 |
| FreeBSD:15:latest | 1.5.1_1 | 1.5.1_1 | n/a | 1.3.6_12 | 1.3.6_12 |
| FreeBSD:15:quarterly | 1.5.1_1 | 1.5.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5.1_1 | 1.5.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
libboost_date_time.so: devel/boost-libslibicuuc.so: devel/icu
The full lists below include those, and their dependencies in turn.
Build dependencies 25
- archivers/liblz4
- archivers/zstd
- databases/sqlite3
- devel/boost-libs
- devel/cmake-core
- devel/gettext-runtime
- devel/icu
- devel/jsoncpp
- devel/libedit
- devel/libffi
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/pkgconf
- devel/readline
- dns/libidn2
- lang/perl5.42
- lang/python312
- lang/tcl86
- math/libtommath
- math/mpdecimal
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- textproc/expat2
Run dependencies 9
Required by 1
Configuration
No options to configure.
- USES
- cmake pathfix perl5 pkgconfig shebangfix sqlite tar:bz2
- Service scripts
- none
Files
Manual pages 7
- cg-comp(1)
- cg-conv(1)
- cg-proc(1)
- cg-sort(1)
- cg-untrace(1)
- cg3-autobin.pl(1)
- vislcg3(1)
pkg-plist 24
- bin/cg-annotate
- bin/cg-comp
- bin/cg-conv
- bin/cg-merge-annotations
- 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
- share/man/man1/cg-comp.1.gz
- share/man/man1/cg-conv.1.gz
- share/man/man1/cg-proc.1.gz
- share/man/man1/cg-sort.1.gz
- share/man/man1/cg-untrace.1.gz
- share/man/man1/cg3-autobin.pl.1.gz
- share/man/man1/vislcg3.1.gz
- share/emacs/site-lisp/cg.el
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cg3-1.5.1.tar.bz2 | 297711 | f6c286e7d871da63d73e1a2ca241b5c3ba9344fdfd25d4c9593431bd799f387d |
Master sites 1
- https://github.com/GrammarSoft/cg3/releases/download/v1.5.1/