GithubHelp home page GithubHelp logo

huqiminghqm / answer-ontology-construction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yuehub/answer-ontology-construction

0.0 1.0 0.0 138 KB

语义搜索引擎-本体半自动构建模块

Java 100.00%

answer-ontology-construction's Introduction

介绍

answer-ontology-construction 是 Answer 系统中的本体半自动构建模块 从百度百科中爬取数据建立本体知识库,构建包括拟人(真实人物、虚拟人物、动物等)、电影、音乐、动画、漫画、地区、院校、公司 八大一级类,剩下的数据归到"其它"这一类中.

调试开发

  • 在本地磁盘中创建一个目录用做放置项目所需的各类文件的根目录,例如在 Linux 的 /opt 下创建 Test.
  • 将 data 目录中的 AnswerDict、Images_Test、Ontologies 复制到第一步创建的根目录中
  • 在ontology-construction.properties中进行本体保存路径等相关修改,相关设置如下:
\# 本配置文件中的路径的根目录,根目录+其他路径=绝对路径
rootPath=/opt/Test/

\# PIZZA_NS 可不变
pizzaNs=http://www.semanticweb.org/narutoku/ontologies/2016/3/my-ontology#

\# 本体文件保存路径 必须将初始 Answer_Ontology_Origin.owl 文件复制到指定路径
ontologyPath=Ontologies/Answer_Ontology_Origin.owl

\# 实体词典保存路径,程序可自动创建
individualDictPath=AnswerDict/Answer_Dict_Test.txt

\# 图片保存地址
picSavePath=Images_Test

\# 要抓取的页面数量
pageNum=20

运行

cn.lcy.ontologyconstruction.crawler 下的 OntologyConstructionLauncher 为程序入口

原理

简书

博客

answer-ontology-construction's People

Contributors

yuehub avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.