超群.com
unread,May 18, 2009, 12:53:57 AM5/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NlpBamboo
bamboo安装没有问题:
[root@localhost php.d]# /opt/bamboo/bin/bamboo
parsing '-'...
学历史学好
学 历史 学好
PHP信息:
[root@localhost php.d]# php -v
PHP 5.2.9 (cli) (built: Feb 27 2009 14:42:58)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator,
by eAccelerator
with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans
编译PHP扩展成功,make install也成功,PHP配置:
extension=bamboo.so
bamboo.parsers=crf_seg,crf_pos,crf_ner_ns, keyword
运行提示:
[root@localhost php.d]# php -i|grep bamboo
failed to init parser crf_pos,crf_ner_ns
PHP Fatal error: Unable to start bamboo module in Unknown on line 0
不知道什么原因。