doc: text corpus

This commit is contained in:
shoneyj 2023-05-31 09:43:31 +02:00
parent 0ffdf58140
commit 890ddf0a98
2 changed files with 25 additions and 2 deletions

View file

@ -15,6 +15,12 @@
note = "[Online; accessed 01-May-2023]"
}
@online{wikiapi,
year = {2023},
title = {Wikipedia API documentation},
url = {https://wikipedia-api.readthedocs.io/en/latest/wikipediaapi/api.html},
}
@inproceedings{rehurek_lrec,
title = {{Software Framework for Topic Modelling with Large Corpora}},
author = {Radim {\v R}eh{\r u}{\v r}ek and Petr Sojka},
@ -102,4 +108,17 @@ author = {Lupe Hernandez and Sam Randall, Ahmad Nazeri},
% This file was created with Citavi 6.15.2.0
@article{TorstenZesch,
title = {Analyzing and Accessing Wikipedia as a Lexical Semantic Resource},
author = {Torsten Zesch, Iryna Gurevych, Max Mühlhäuser
},
url = {https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=96fcad8bec2bce17d70ca60b042529dd5be513cc},
urldate = {30/05/2023}
}

View file

@ -13,13 +13,17 @@ The knowledge base is a dataset with formal semantics that can contain different
Figure \ref{fig:kg} illustrates the procsssing of plain text from various sources such as Wikipedia API, PDF into a graph. This abstract architecture of a \acl{kg} portraits the asumption that a \acl{kg} is more than a \acf{kb}. \acl{kg} is a combination of \acl{kb} and \acf{qe}.
\Iac{qe} is a set of graph of possible questions that could be formed in reference to \iac{kb}. \acf{qg} for comprehensive reading is a challenging task. There are datasets available for \acf{qg}, one of it is Stanford Question Answering Dataset v1.0 (SQuAD) consisting of questions posed by crowdworkers on a set of Wikipedia articles \parencite{PranavRajpurkar.}. The limitation with such a data set is that these do not contain unanserable questions. Building a machine learning model when no answer is supported was out of scope of SQuAD objective \parencite{LupeHernandez}. Study on automatic question generation from an attention-based sequence learning model for \ac{qg} and investigate the effect of encoding sentence- vs. paragraph-level information \parencite{DuXinya.29042017}, reduces reability on hand crafted rule based systems.
\Iac{qe} is a set of graph of possible questions that could be formed in reference to \iac{kb}. \acf{qg} for comprehensive reading is a challenging task. There are datasets available for \acf{qg}, one of it is Stanford Question Answering Dataset v1.0 (SQuAD) consisting of questions posed by crowdworkers on a set of Wikipedia articles \parencite{PranavRajpurkar.}. The limitation with such a data set is that these do not contain unanserable questions. Building a machine learning model when no answer is supported was out of scope of SQuAD objective \parencite{LupeHernandez}. Study on automatic question generation from an attention-based sequence learning model for \ac{qg} and investigate the effect of encoding sentence- vs. paragraph-level information \parencite{DuXinya.29042017}, reduces reliance on handcrafted rule based systems.
\clearpage
\section{Fetching text corpus}
One of the first things required for \acf*{nlp} tasks is a creating a text corpus.
In linguistics and \acs{nlp}, corpus refers to a collection of texts.
In linguistics and \acs{nlp}, corpus refers to a collection of texts. This paper's objective is to web crawl and extract data related to "Motor Oil". Our intention is to fetch the unstructred text corpus specifically related to "Motor Oil" and to create a graph-based \acs{kb}.
Wikipedia\footnote{https://www.wikipedia.org/} is primarily an encyclopedia with the additional benefit of heavy linking between articles and without the size constraints of paper articles \parencite{TorstenZesch}. Wikipedia API \footnote{https://pypi.org/project/Wikipedia-API/}