Marek Medved commited on
Commit
e390324
1 Parent(s): 50c272c

fix README

Browse files
Files changed (1) hide show
  1. README.md +31 -26
README.md CHANGED
@@ -1,18 +1,26 @@
1
- # Automatic Question Answering (AQA)
2
- The Question Answering pipeline is built for flective languages. This pipeline comprises four major components: the Question Processor, Document Selector, Answer Selector, and Answer Extractor, where each module incorporates and state-of-the-art algorithm for a specific task. Using a Long Short Term (LSTM) neural network and standard Natural Language Processing (NLP) tools, the Question Processor is able to extract all necessary information regarding the input question. Provided features are then used by Document Selector, which incorporates the TF-IDF scoring mechanism enhanced by our weighting strategy. The final answer is then established by combining the last two modules. First, the Answer Selection module, based on Transformers and reinforced by context features, selects the most probable answer sentence. Then the Answer Extraction module extracts the shortest and still informative span as a final answer.
3
 
4
- The final pipeline is tested against the Simple Question Answering Database ([SQAD](https://gitlab.fi.muni.cz/nlp/sqad)) that was developed for training and testing purposes of the AQA system.
 
 
 
 
 
 
 
 
 
 
5
 
6
- On the SQAD database the Document Selector reaches more than 90\% accuracy on the document selection task, the Answer Selector selects the correct answer sentence in nearly 92\% of cases, and the Answer Extractor provides the correct final answer in almost 91\% of cases.
7
 
8
- AQA have been developed as a part of dissertation in **NLP laboratory at Masaryk University**.
9
-
10
- ## Cloning AQA modules
11
  ```
12
  git submodule init
13
  git submodule update
14
  ```
15
-
16
  Please cite:
17
  * MEDVEĎ, Marek and Aleš HORÁK. Sentence and Word Embedding Employed in Open Question-Answering. In Proceedings of the 10th International Conference on Agents and Artificial Intelligence (ICAART 2018). Setúbal, Portugal: SCITEPRESS - Science and Technology Publications, 2018. p. 486-492. ISBN 978-989-758-275-2.
18
  ```
@@ -32,31 +40,28 @@ Please cite:
32
  }
33
  ```
34
 
35
- * MEDVEĎ, Marek a Aleš HORÁK. AQA: Automatic Question Answering System for Czech. In Sojka Petr, Horák Aleš, Kopeček Ivan, Pala Karel. Text, Speech, and Dialogue 19th International Conference, TSD 2016 Brno, Czech Republic, September 12–16, 2016 Proceedings. Switzerland: Springer International Publishing, 2016. s. 270-278. ISBN 978-3-319-45510-5. doi:10.1007/978-3-319-45510-5_31.
36
  ```
37
- @inproceedings{1353405,
38
- author = {Medveď, Marek and Horák, Aleš},
39
- address = {Switzerland},
40
- booktitle = {Text, Speech, and Dialogue 19th International Conference, TSD 2016 Brno, Czech Republic, September 12–16, 2016 Proceedings},
41
- doi = {http://dx.doi.org/10.1007/978-3-319-45510-5_31},
42
- editor = {Sojka Petr, Horák Aleš, Kopeček Ivan, Pala Karel},
43
- keywords = {Question Answering; AQA; Simple Question Answering Database; SQAD; Named entity recognition},
44
  howpublished = {tištěná verze "print"},
45
  language = {eng},
46
- location = {Switzerland},
47
- isbn = {978-3-319-45510-5},
48
- pages = {270-278},
49
- publisher = {Springer International Publishing},
50
- title = {AQA: Automatic Question Answering System for Czech},
51
- url = {http://dx.doi.org/10.1007/978-3-319-45510-5_31},
52
- year = {2016}
53
  }
54
-
55
  ```
56
-
57
  [License](https://nlp.fi.muni.cz/en/LicenceWebCorpus)
58
 
59
  [Publications](https://is.muni.cz/person/359226#publikace)
60
 
61
- [Project web](https://nlp.fi.muni.cz/projekty/question_answering/)
62
 
 
1
+ # Simple Question Answering Database (SQAD)
2
+ SQAD is a Czech database for question answering developed in **NLP laboratory at Masaryk University**. Database have been harvested from **Czech Wikipedia** articles by students and annotated with appropriate question, answer sentence, exact answer, question type and answer type. Part of speech tagging and lemmatization by [Majka](https://nlp.fi.muni.cz/projekty/ajka/) pipeline.
3
 
4
+ Each record consist of several files:
5
+ * `01question.vert`: contains a question in vertical format
6
+ * `03text.vert`: contains full text of Wikipedia article in vertical format. Or can be represented by symbolic link to another record that also uses the same text. This feature is designed for saving the disk space.
7
+ * `04url.txt`: stores original URL address
8
+ * `05metadata.txt`: consists of several XML like lines that encodes important metadata
9
+ * `<q_type>`: question type
10
+ * `<a_type>`: answer type
11
+ * `<user>`: name of the user that creates the record
12
+ * `06answer.selection.vert`: contains an sentence from the document that can answer the input question in vertical format
13
+ * `09answer_extraction.vert`: includes a sub-string from answer selection sentence in vertical format. This sub-string is informative enough to answer the input question.
14
+ * `10title.vert`: contains the title of the article itself in vertical format.
15
 
16
+ SQAD have been developed as a part of dissertation and is used in Automatic Question Answering (AQA) system.
17
 
18
+ ## SQAD to databse submodule cloning:
 
 
19
  ```
20
  git submodule init
21
  git submodule update
22
  ```
23
+
24
  Please cite:
25
  * MEDVEĎ, Marek and Aleš HORÁK. Sentence and Word Embedding Employed in Open Question-Answering. In Proceedings of the 10th International Conference on Agents and Artificial Intelligence (ICAART 2018). Setúbal, Portugal: SCITEPRESS - Science and Technology Publications, 2018. p. 486-492. ISBN 978-989-758-275-2.
26
  ```
 
40
  }
41
  ```
42
 
43
+ * Marek Medveď, Radoslav Sabol, and Aleš Horák. Czech Question Answering with Extended SQAD v3.0 Benchmark Dataset. In Horák, Aleš and Rychlý, Pavel and Rambousek, Adam. Proceedings of the Thirteenth Workshop on Recent Advances in Slavonic Natural Languages Processing, RASLAN 2019. Brno: Tribun EU, 2019. p. 99-108. ISBN 978-80-263-1530-8.
44
  ```
45
+ @inproceedings{1591218,
46
+ author = {Sabol, Radoslav and Medveď, Marek and Horák, Aleš},
47
+ address = {Brno},
48
+ booktitle = {Proceedings of the Thirteenth Workshop on Recent Advances in Slavonic Natural Languages Processing, RASLAN 2019},
49
+ editor = {Horák, Aleš and Rychlý, Pavel and Rambousek, Adam},
50
+ keywords = {question answering; QA benchmark dataset; SQAD; Czech},
 
51
  howpublished = {tištěná verze "print"},
52
  language = {eng},
53
+ location = {Brno},
54
+ isbn = {978-80-263-1530-8},
55
+ pages = {99-108},
56
+ publisher = {Tribun EU},
57
+ title = {Czech Question Answering with Extended SQAD v3.0 Benchmark Dataset},
58
+ year = {2019}
 
59
  }
 
60
  ```
61
+
62
  [License](https://nlp.fi.muni.cz/en/LicenceWebCorpus)
63
 
64
  [Publications](https://is.muni.cz/person/359226#publikace)
65
 
66
+ [Project web](https://nlp.fi.muni.cz/projekty/sqad/)
67