pkgsrc/textproc/cabocha/options.mk
obache 4b13c88567 Import cabocha-0.53 as textproc/cabocha.
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.
2010-05-19 12:16:25 +00:00

19 lines
513 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2010/05/19 12:16:25 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.cabocha
PKG_OPTIONS_NONEMPTY_SETS= ma
PKG_OPTIONS_SET.ma= chasen mecab
PKG_SUGGESTED_OPTIONS= chasen
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mchasen)
CONFIGURE_ARGS+= --with-morphological-analyzer=chasen
.include "../../textproc/chasen/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mmecab)
CONFIGURE_ARGS+= --with-morphological-analyzer=mecab
.include "../../textproc/mecab/buildlink3.mk"
.endif