Git Product home page Git Product logo

paper57's Introduction

paper57

Instruction:

The folder "src" contains all the java source code of the experiment. We performed our experiment under jdk-12, with external jar file "lucene-analyzers-common-7.5.0.jar" and "mysql-connector-java-8.0.15.jar".

https://drive.google.com/open?id=1NFTERBHyDHKt0DlR-xiJmXCRac5jhkc8 is the link to the data used in our experiment, the file "snippet_dataset_all.sql" contains all the data about the datasets and snippets used in our experiment. You need to download it first, and import it to your local MySQL database.

To successfully run the experiment, you need to follow these steps:

1, Import all the data from "snippet_dataset_all.sql" to a MySQL database. There should be 4 tables: "dataset_info", "triple", "uri_label_id" and "snippet_generation_result".

2, Add "lucene-analyzers-common-7.5.0.jar" and "mysql-connector-java-8.0.15.jar" to your current workspace as external libraries.

3, Adjust the JDBC configuration (username, password, etc.) of the project in util/DBconnecter.java to your local settings.

4, Run main() in process/getResult, the output is the average scores of evaluation metrics on all the query-dataset pairs (Table 3 in our paper). There will be 4 rows of output results. The first row shows the average scores "coKyw", "coCnx", "coSkm" and "coDat" of IlluSnip, the second to fourth row are the average scores of TA+C, PrunedDP++ and CES.

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.