4b13c88567
CaboCha is a Japanese dependency analysis machine based on Support Vector Machines. It is (89.29%) system that accuracy is the highest as a statistical Japanese dependency analysis machine as of June, 2001. Moreover, definite analytical algorithm (Cascaded Chunking Model) that doesn't do back-track is adopted, and an efficient analysis can be done comparatively.
35 lines
832 B
Makefile
35 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 12:16:25 obache Exp $
|
|
#
|
|
|
|
.include "Makefile.common"
|
|
|
|
COMMENT= Yet another Japanese Dependency Structure Analyzer
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake perl:run gzcat
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
|
|
|
|
INSTALL_MAKE_FLAGS+= confdir=${PREFIX}/share/examples
|
|
|
|
CONF_FILES= share/examples/cabocharc ${PKG_SYSCONFDIR}/cabocharc
|
|
|
|
TEST_TARGET= check
|
|
|
|
BUILD_DEPENDS+= nkf-[0-9]*:../../converters/nkf
|
|
|
|
# using zcat to extract .gz
|
|
SUBST_CLASSES+= zcat
|
|
SUBST_STAGE.zcat= post-configure
|
|
SUBST_FILES.zcat= model/Makefile
|
|
SUBST_SED.zcat= -e 's|zcat|${TOOLS_CMDLINE_GZCAT}|g'
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../textproc/yamcha/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|