mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
fdb1bb4c3e
The OpenGrm NGram library is used for making and modifying n-gram language models encoded as weighted finite-state transducers (FSTs). It makes use of functionality in the OpenFst library to create, access and manipulate n-gram models. Operations for counting, smoothing, pruning, applying, and evaluating models as well as support for distributed computation are among those provided. It was developed by contributors from OHSU and Google Research. http://www.openfst.org/twiki/bin/view/GRM/NGramLibrary
23 lines
535 B
Makefile
23 lines
535 B
Makefile
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opengrm-ngram
|
|
PORTVERSION= 1.2.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://openfst.cs.nyu.edu/twiki/pub/GRM/NGramDownload/
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Library for making n-gram language models encoded as weighted FSTs
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LIB_DEPENDS= libfst.so:${PORTSDIR}/math/openfst
|
|
|
|
USES= compiler:c++11-lib libtool
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.mk>
|