Skip to content

cxchu/HowToKB

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 2, 2021 16:10
October 29, 2021 09:42
src
October 29, 2021 09:42
November 2, 2021 16:13
March 15, 2017 16:19

Distilling Task Knowledge from How-to Communities


You can find more information about HowToKB here.

Before Running Code

You need to install file javatools-1.0.0.jar (in jars folder) into your maven library, following this guide: https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Commandline:
mvn install:install-file -Dfile=jars/javatools-1.0.0.jar -DgroupId=niket.tools -DartifactId=javatools -Dversion=1.0.0 -Dpackaging=jar

How To Run

  • Download HowToKB dataset from here and put them into howtokb-data folder
  • Moved the w2v model file (articles-word2vec-word-pos.model.txt) to "data" folder
  • Set "data" and "resources" folders as source folders in the configuration (build path -> use as source folders)
  • Some testing classes:
    • test.kb.howtokb.TaskFrameReaderTest: reading task frames from howtokb data
    • test.kb.howtokb.WikiHowArticleReaderTest: reading wikihow articles from howtokb data
    • test.kb.howtokb.TextToWikiHowTaskFrameTest: extracting task frames from wikihow articles

    • test.kb.howtokb.jdbc.JDBCConnectorTest: query data from howtokb database

    • test.kb.howtokb.clustering.*: clustering task frames

Note

Following the descriptions about HowToKB data (here), a python code can be also used to load the data (json files).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages