资源算法drqa-demo

drqa-demo

2020-02-24 | |  34 |   0 |   0

Applying DrQA, a question answering system on an arbitary website

A few scripts and code snippets to create a simple question answering system for any website.

We assume that you are familiar with basic bash and linux. If you are on windows, you can either use Ubuntu Bash (windows store) or modify the bash scripts to work on windows cmd.

Requirements:

Main Steps

  • step 1: modify downloadWebpage.sh: so that it contains the webpage you want to have, e.g. replace openai.com

  • step 2 : execute ./downloadWebpage.sh: downloads a webpage recursively. feel free to stop it at some point if it takes too long

  • step 3: convert the downloaded pages to the right format: ./convert_html.sh ./openai.com. This also creates a ngram based index for the text of your page.

  • step 4: start your system: ./start_webpage.sh


上一篇:dp-drqa

下一篇:drqa-server

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...