(64位)本体学习程序(ontoEnrich)系统配置说明文档
1系统环境
64位 Ubuntu
2 第三方依赖库配置
boost_1_44_0
#解压boost_1_44_0.tar.gz 到 /usr/local.如果出现权限问题,请用sudo执行该命令
tar zxvf boost_1_44_0.tar.gz -C /usr/local #编译Boost.Regex
#检查 echo $BOOST_ROOT 是否等于 /usr/local/boost_1_44_0
#如果为空,在~/.bashrc 中写入 export BOOST_ROOT = /usr/local/boost_1_44_0
cd ${BOOST_ROOT}/libs/regex/build/
#如果当前目录存在名为"gcc"的文件夹,则将之删除
make -f gcc-shared.mak
make -f gcc.mak
cd gcc/
sudo ln -s libboost_regex-gcc-1_42.so /usr/local/lib
sudo ln -s libboost_regex-gcc-1_42.so /usr/lib #重要,指明boost.regex库的链接位置。在.bashrc中写入
export LD_LIBRARY_PATH=${BOOST_ROOT}/libs/regex/build/gccltp-service
cd path_to_ltp-service/__ltpService
#检查LTPOption.h 中是否为 #define LINUX_OS //#define WIN_OS
cd path_to_ltp-service
chmod +x configure
./configure
make
sudo make install
#如果libutil libxml4nlp libservice 在 /usr/local/lib中,则ltp-service配置成功安装mysql
安装mysql,包括mysql-server,mysql-client,libmysqlclient-dev:
sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install libmysqlclient-dev程序中所用的数据库名为wikipedia,用户名为'root'@'localhost',密码为‘hadoop’。如果用户名root的密码不为hadoop时,注意修改密码。
创建数据库wikipedia:
> create database wikipedia;
> use wikipedia;恢复数据:将wikipedia_mysql_backup(里面包含create table语句和insert语句)恢复到wikipedia数据库中:
> source wikipedia_mysql_backup
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAR4AAAFACAIAAADlL4QGAAAgAElEQVR4nO2dd1wT9//H/e9Xw6ijUlu/tbYEcCGXsEHAhUwBERQHICIgoiIuRHG01rqq1tphXa1aRe2yrrpbqQvFLUMQB1MB2QSyeP/+SICQ5O5CyIUQ3n08/2mOu8/nPvd5msvdve7d42l29tCeHw/p+fHgdwYOfmegxT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dd4KJ4Rsol/IiXJB3pmcitSlnkNWPqh+fi278c0PgQqXTJSUOabC0DE5DeD+qjYTpSNqKesGbY1mdQoxG7t9eQ9EqYvGyhW/7ON/IB8az80fI7nqMGiBwlUHi7Gen+/f9kW07KkaxVr0G9TcaJiEnCgHQWqyD3Ucq1/IibftPSJdg9YTQgczn1DPmNXJh268agJR1kFfle5rkalFGFhH7y0BKLywJiE+eMl3fxU3X8ZgE4aOyTcBgHc1xJZj6Jh0RQAgSptuy2GxacscUzJs6o5igPy/FsXFz0jaFOlhx1JbLfJuUNVoZhNqFmK28El42AQZWy3lnk4Y7DP/Fh/q0r9atmDSsv2pddB4a53stfL3gn8tBQCo2D/ZQaW16DaoydEY7BOXWg9QmfrLttmxcRNmxc9I2jhzvNzIO41LKYfSo26WdH3oerSoNXzGDyUAgqpn9y/tXBNlNlTF9UnVYrGJXi7xm/55UQMAUPv0nz1Brs2/cIZO3lIAZccjTdgEy8zF71QNPNthNZhgqVLmmAruwLA9/xYLAEBcmbU7cpShumpRd4OsRrMUdQoxcz6cebIcGi6v8Jb7N97IJmLF2dwqAICajL+/dm97h9fIMeGXApGo8PTUtuddFGtRb1Czo2Ew3Ddo+99phZKL9lBX8mjX7NGyo2E86ov/BJDx1UTai8BdEL150KmrYzEm6I9yaMrbEdpdaqIbWAavuCeAohR3gsN0W50BqqUzGFgGLU6tBdGTJHfaC5hdHkPOtOX/1QL/QbKvoz4+ikGgWjrGUC//pTGf6uGjCfIYj1x+7OHlZf7OeuoVgWohCEOgWgjCCKgWgjACqoUgjIBqIQgjoFoIwgioFoIwwv8DLj8RD0VlYHAAAAAASUVORK5CYII=" alt="" />
3 make源文件
将 {程序路径}\ontoEnrich\system\makefile,用如下的makefile覆盖:
#如果提示文件找不到,添加需要的 INCLUDE,LINK 路径
#修改时,请对比原makefile文件,并不要修改原文件(将原makefile文件备份)
#如果提示文件找不到,添加需要的 INCLUDE,LINK 路径
#修改时,请对比原makefile文件,并不要修改原文件(将原makefile文件备份)
INCLUDE = ./ -I ../segment -I ../conceptRecognise -I ../utility \
-I ../regexMatch -I ../include -I ../suffixTree -I ../wikiProject \
-I ../relationExtractor -I ../simWord -I ../clustering -I ../pattern \
-I /usr/local/include -I /usr/local/boost_1_44_0
VPATH = ../segment:../conceptRecognise:../utility:../suffixTree \
:../regexMatch:../wikiProject:../relationExtractor \
:../simWord:../clustering:../pattern BOOSTLIBS = -L /usr/local/boost_1_44_0/libs/regex/build/gcc -lboost_regex-gcc-1_42 object1=text.o corpus.o simpleConceptExtractor.o
object2=getRulePattern.o regexMatch.o
object3=wikiCategory.o zh2sim.o connectMysql.o regexMatch.o
object4=CWikiNetworkTrainer.o fire.o CWikiNetwork.o StrFun.o
object5=suffixTree.o charConverter.o
object6=relationPopulation.o mark.o kmeans.o patternUtility.o pattern.o synForest.o
object7=clustering.o wordVector.o distance.o tree.o
object8=getPattern.o editDistanceCal.o patternGenerator.o
object=$(object1) $(object2) $(object3) $(object4) $(object5) $(object6) $(object7) $(object8) \
wikiInfoExtractor.o wikiInfoExtractor.o conceptRecognizor.o \
addElement.o ontoLearner.o ontologyEnrichment.o sentParser.o
ontologyEnrichment:$(object)
g++ -o ontologyEnrichment -g $^ -I$(INCLUDE) -lmysqlclient ${BOOSTLIBS} \
-L ../segment -lsegment -L /usr/local/lib -lutil -lxml4nlp -lservice
myUtility.o:myUtility.cpp
g++ -g -c $^ -I$(INCLUDE) -L ../segment -lsegment #simpleConceptLearner.o:$(object1)
# g++ -g -o simpleConceptLearner.o $^ -L../segment -lsegment
simpleConceptExtractor.o:simpleConceptExtractor.cpp
g++ -c -g $^ -I$(INCLUDE)
text.o:text.cpp
g++ -c -g $^ -I$(INCLUDE) -L ../segment -lsegment
corpus.o:corpus.cpp
g++ -c -g $^ -I$(INCLUDE) -L ../segment -lsegment # getRuleFile.o:$(object2)
# g++ -g -o getRuleFile.o $^ -I$(INCLUDE) -L../ -lsegment -lboost_regex-gcc-1_42
getRulePattern.o:getRulePattern.cpp
g++ -g -c $^ -I$(INCLUDE)
regexMatch.o:regexMatch.cpp
g++ -c -g $^ -I$(INCLUDE) ${BOOSTLIBS} wikiInfoExtractor.o:wikiInfoExtractor.cpp
g++ -g -c $^ -I$(INCLUDE) ${BOOSTLIBS} -L ../segment -lsegment conceptRecognizor.o:conceptRecognizor.cpp
g++ -g -c $^ -I$(INCLUDE) -L ../segment -lsegment # cateRel.o:$(object3)
# g++ -g -o cateRel.o $^ -I$(INCLUDE) -lboost_regex-gcc-1_42 -lmysqlclient -L ../segment -lsegment
wikiCategory.o:wikiCategory.cpp
g++ -c -g $^ -I$(INCLUDE) ${BOOSTLIBS} -L ../segment -lsegment
zh2sim.o:zh2sim.cpp
g++ -g -c $^ -I$(INCLUDE)
connectMysql.o:connectMysql.cpp
g++ -g -c $^ -I$(INCLUDE) -lmysqlclient addElement.o:addElement.cpp
g++ -g -c $^ -I$(INCLUDE) -lmysqlclient
ontoLearner.o:ontoLearner.cpp
g++ -g -c $^
ontologyEnrichment.o:ontologyEnrichment.cpp
g++ -g -c $^ CWikiNetworkTrainer.o: CWikiNetworkTrainer.cpp
g++ -g -c $^ -I$(INCLUDE)
fire.o :fire.cpp
g++ -g $^ -c -o fire.o -I$(INCLUDE)
CWikiNetwork.o : CWikiNetwork.cpp
g++ -g -c $^ -I$(INCLUDE)
StrFun.o: StrFun.cpp
g++ -g -c $^ -I$(INCLUDE) suffixTree.o:suffixTree.cpp
g++ -c -g $^ -I$(INCLUDE) -L ../segment -lsegment
charConverter.o:charConverter.cpp
g++ -c -g $^ relationPopulation.o:relationPopulation.cpp
g++ -c $^ -I$(INCLUDE)
mark.o:mark.cpp
g++ -c $^ -I$(INCLUDE)
kmeans.o:kmeans.cpp
g++ -c $^ -I$(INCLUDE)
patternUtility.o:patternUtility.cpp
g++ -c $^ -I$(INCLUDE)
pattern.o:pattern.cpp
g++ -c $^ -I$(INCLUDE)
synForest.o:synForest.cpp
g++ -g -c $^ -I$(INCLUDE) -L ../segment -lsegment clustering.o:clustering.cpp
g++ -c -g $^ -I$(INCLUDE)
wordVector.o:wordVector.cpp
g++ -c -g $^ -I$(INCLUDE)
distance.o:distance.cpp
g++ -c -g $^
tree.o:tree.cpp
g++ -c -g $^ getPattern.o:getPattern.cpp
g++ -g -c $^ -I$(INCLUDE) ${BOOSTLIBS}
patternGenerator.o:patternGenerator.cpp
g++ -g -c $^ -I$(INCLUDE) ${BOOSTLIBS}
editDistanceCal.o:editDistanceCal.cpp
g++ -g -c $^ -I$(INCLUDE) sentParser.o:sentParser.cpp
g++ -g -c $^ -I$(INCLUDE) -L /usr/local/lib -lutil -lxml4nlp -lservice clean:
rm $(object) ontologyEnrichment
4 生成可执行程序
#若是有已经生成的可执行文件ontologyEnrichment,可以先用make clean命令清理一遍,然后再make
cd ontoEnrich_64/systrm
make
运行程序: ./ontologyEnrichment
(64位)本体学习程序(ontoEnrich)系统配置说明文档的更多相关文章
- (32位)本体学习程序(ontoEnrich)系统配置说明文档
1.系统环境 32位 Ubuntu 源代码中已经包含在32位下编译生成的.o文件,配置好依赖库(步骤2)后,参考步骤3则可重新link. link无误即可运行程序. 2.依赖库 2.1 boost_ ...
- cmake编译win下64位obs
obs是一款开源编码推流工具,简单易用,非常流行.一次项目中,发现本台式机I3处理器下32位obs推流CPU使用率100%.而使用的第三方设备在64位下,性能较好.所以需要编译64位obs并且编译相应 ...
- hadoop2.6.0汇总:新增功能最新编译 32位、64位安装、源码包、API下载及部署文档
相关内容: hadoop2.5.2汇总:新增功能最新编译 32位.64位安装.源码包.API.eclipse插件下载Hadoop2.5 Eclipse插件制作.连接集群视频.及hadoop-eclip ...
- Print2flash在.NET(C#)64位中的使用,即文档在线预览
转:http://www.cnblogs.com/flowwind/p/3411106.html Print2flash在.NET(C#)中的使用,即文档在线预览 office文档(word,ex ...
- OWL库(叙词表构建本体OWL库)程序说明文档
本体程序(叙词表转化OWL)及相关数据 程序已有资源:
- 手把手VirtualBox虚拟机下安装rhel6.4 linux 64位系统详细文档
下面演示安装的是在VirtualBox里安装rhel 6.4 linux 64位系统. 一.VirtualBOX 版本. 二.虚拟机的配置. 1.现在开始演示安装,一起从零开始.点击“新建”,创建新的 ...
- ubuntu12.04 64位系统配置jdk1.6和jdk-6u20-linux-i586.bin下载地址
1:下载地址http://code.google.com/p/autosetup1/downloads/detail?name=jdk-6u20-linux-i586.bin&can=2&am ...
- 64位Windows下安装Redis教程
转载于:http://www.itxuexiwang.com/a/shujukujishu/redis/2016/0216/104.html?1455868495 Redis对于Linux是官方支持 ...
- System.Data.SQLite兼容32位和64位问题
SQLite版本分的很详细,本机是64位在32位会出现问题,经过搜索找到解决方案. 这是我以前写的32位在我现在的机子上的运行报错. 类似这样的. 将当前说明文档的目录下的x64.x86目录和Syst ...
随机推荐
- IHttpModule的那些事
写在前面 关于IHttpModule的相关内容,在面试的时候也被问到过,当时也是隐隐约约的感觉这个接口有一个Init方法,可以在实现类中的Init方法注册一系列的事件,说句实话,具体哪些事件,忘了差不 ...
- 未能加载文件或程序集“log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821”或它的某一个依赖项。系统找不到指定的文件。
在网上找了很久,很多个地方让修改配置文件,也有重装log4net的. 如文章:使用Common.Logging与log4net的组件版本兼容问题 我检查下发现项目中的package包中的Log4net ...
- 第17章 程序管理与SELinux初探
什么是进程 触发任何一个事件时,系统都会将它定义为一个进程,并且给予这个进程一个ID,称为PID,同时依据触发这个进程的用户与相关属性关系,给予这个进程一组有效的权限设置. 进程与程序 进程:执行一个 ...
- VMware12 pro装unlocker207补丁后依然没有apple mac选项,问题解决
把VMware所有的服务先停止,任务管理器里面的也停止.然后再安装unlocker207补丁就行了.亲测.
- perf的统计模式: 突破口: x86_perf_event_update
之前一直以为perf的统计模式也是通过中断出发来的,于是会在中断处理函数中做处理,但是如果perf是统计模式,那么perf的寄存器就不会是溢出的模式了,这个时候,就没有pmu的中断发生,所以很奇怪呢, ...
- BZOJ 1799 同类分布(数位DP)
给出a,b,求出[a,b]中各位数字之和能整除原数的数的个数.1<=a<=b<=1e18. 注意到各位数字之和最大是153.考虑枚举这个东西.那么需要统计的是[0,a-1]和[0,b ...
- bzoj4798[CEOI2015] Calvinball championship
这年头,n方跑1万的题已经不多了... 题意 bzoj4798 不知道怎么叙述这个题意... 分析 如果某个序列字典序小于给定的序列,我们不妨考虑从左到右第一个小于给定的序列的位置,并枚举这个位置的数 ...
- 【bzoj5130】[Lydsy12月赛]字符串的周期 DFS+KMP
题目描述 给定 $n$ 和 $m$ ,求所有 长度为 $n$ ,字符集大小为 $m$ 的字符串,每个前缀的最短循环节长度乘积 的总和. $n\le 12,m\le 10^9$ 题解 DFS+KMP 对 ...
- ORACLE 存储过程异常捕获并抛出
for tab_name in tables loop execute immediate 'drop table '||tab_name; --此处可能会报错 end loop; 当前情况是,循环表 ...
- Tajo--一个分布式数据仓库系统(设计架构)
上一篇Tajo--一个分布式数据仓库系统(概述)废话了一通,下面介绍一下Tajo的体系结构.以及官方的实验成果吧 一.体系架构 Tajo采用了Master-Worker架构(下图虚线框目前还在计划中) ...