doc : chapter 1
This commit is contained in:
parent
a012866fa0
commit
0ffdf58140
7 changed files with 139 additions and 32 deletions
20
README.md
20
README.md
|
|
@ -4,4 +4,22 @@ These are practice codes from plural site by Janani Ravi
|
||||||
|
|
||||||
# LaTex
|
# LaTex
|
||||||
|
|
||||||
https://www.youtube.com/watch?v=ydOTMQC7np0
|
https://www.youtube.com/watch?v=ydOTMQC7np0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Eingabe Ausgabe
|
||||||
|
\ac{ecu} European currency unit (ECU)
|
||||||
|
\acf{ecu} European currency unit (ECU)
|
||||||
|
\acs{ecu} ECU
|
||||||
|
\acl{ecu} European currency unit
|
||||||
|
\acp{ecu} ECUs
|
||||||
|
\acfp{ecu} European currency units (ECUs)
|
||||||
|
\acsp{ecu} ECUs
|
||||||
|
\aclp{ecu} European currency units
|
||||||
|
\acfi{ecu} European currency unit (ECU)
|
||||||
|
\iac{ecu} a ECU
|
||||||
|
\Iac{ecu} A ECU
|
||||||
|
\acused{ecu}
|
||||||
|
\acsu{ecu} ECU
|
||||||
|
\aclu{ecu} European currency unit
|
||||||
|
|
@ -59,16 +59,6 @@
|
||||||
file = {Davies, Studer et al (Ed) 2008, cop 2006 - Semantic web technologies:Attachments/Davies, Studer et al (Ed) 2008, cop 2006 - Semantic web technologies.pdf:application/pdf}
|
file = {Davies, Studer et al (Ed) 2008, cop 2006 - Semantic web technologies:Attachments/Davies, Studer et al (Ed) 2008, cop 2006 - Semantic web technologies.pdf:application/pdf}
|
||||||
}
|
}
|
||||||
|
|
||||||
% This file was created with Citavi 6.15.2.0
|
|
||||||
|
|
||||||
@article{.,
|
|
||||||
title = {Towards a Definition of Knowledge Graphs},
|
|
||||||
url = {https://ceur-ws.org/Vol-1695/paper4.pdf?ref=https://githubhelp.com},
|
|
||||||
urldate = {29/05/2023},
|
|
||||||
file = {paper4:Attachments/paper4.pdf:application/pdf}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@thesis{LisaEhrlinger,
|
@thesis{LisaEhrlinger,
|
||||||
abstract = {Recently, the term knowledge graph has been used frequently in research and business, usually in close association with Semantic Web technologies, linked data, large-scale data analytics and cloud computing. Its popularity is clearly influenced by the introduction of Google’s Knowledge Graph in 2012, and since then the term has been widely used without a definition. A large variety of interpretations has hampered the evolution of a common understanding of knowledge graphs. Numerous research papers refer to Google’s Knowledge Graph, although no official documentation about the used methods exists. The prerequisite for widespread academic and commercial adoption of a concept or technology is a common understanding, based ideally on a definition that is free from ambiguity. We tackle this issue by discussing and defining the term knowledge graph, considering its history and diversity in interpretations and use. Our goal is to propose a definition of knowledge graphs that serves as basis for discussions on this topic and contributes to a common vision.},
|
abstract = {Recently, the term knowledge graph has been used frequently in research and business, usually in close association with Semantic Web technologies, linked data, large-scale data analytics and cloud computing. Its popularity is clearly influenced by the introduction of Google’s Knowledge Graph in 2012, and since then the term has been widely used without a definition. A large variety of interpretations has hampered the evolution of a common understanding of knowledge graphs. Numerous research papers refer to Google’s Knowledge Graph, although no official documentation about the used methods exists. The prerequisite for widespread academic and commercial adoption of a concept or technology is a common understanding, based ideally on a definition that is free from ambiguity. We tackle this issue by discussing and defining the term knowledge graph, considering its history and diversity in interpretations and use. Our goal is to propose a definition of knowledge graphs that serves as basis for discussions on this topic and contributes to a common vision.},
|
||||||
author = {Lisa Ehrlinger, Wolfram Wöß},
|
author = {Lisa Ehrlinger, Wolfram Wöß},
|
||||||
|
|
@ -76,3 +66,40 @@
|
||||||
keywords = {Knowledge Graphs},
|
keywords = {Knowledge Graphs},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@article{PranavRajpurkar.,
|
||||||
|
abstract = {EMNLP2016 2016},
|
||||||
|
author = {{Pranav Rajpurkar} and {Jian Zhang} and {Konstantin Lopyrev} and {Percy Liang}},
|
||||||
|
title = {SQuAD: 100,000+ Questions for Machine Comprehension of Text},
|
||||||
|
url = {https://aclanthology.org/D16-1264.pdf},
|
||||||
|
urldate = {29/05/2023},
|
||||||
|
file = {100,000 Questions for Machine Comprehension of Text:Attachments/100,000 Questions for Machine Comprehension of Text.pdf:application/pdf}
|
||||||
|
}
|
||||||
|
|
||||||
|
% This file was created with Citavi 6.15.2.0
|
||||||
|
|
||||||
|
@misc{DuXinya.29042017,
|
||||||
|
abstract = {We study automatic question generation for sentences from text passages in reading comprehension. We introduce an attention-based sequence learning model for the task and investigate the effect of encoding sentence- vs. paragraph-level information. In contrast to all previous work, our model does not rely on hand-crafted rules or a sophisticated NLP pipeline; it is instead trainable end-to-end via sequence-to-sequence learning. Automatic evaluation results show that our system significantly outperforms the state-of-the-art rule-based system. In human evaluations, questions generated by our system are also rated as being more natural (i.e., grammaticality, fluency) and as more difficult to answer (in terms of syntactic and lexical divergence from the original text and reasoning needed to answer).},
|
||||||
|
author = {{Du Xinya} and Shao, Junru and Cardie, Claire},
|
||||||
|
date = {29/04/2017},
|
||||||
|
title = {Learning to Ask: Neural Question Generation for Reading Comprehension},
|
||||||
|
url = {https://arxiv.org/pdf/1705.00106.pdf},
|
||||||
|
urldate = {28/05/2023},
|
||||||
|
file = {1705.00106:Attachments/1705.00106.pdf:application/pdf}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
% This file was created with Citavi 6.15.2.0
|
||||||
|
|
||||||
|
@article{LupeHernandez,
|
||||||
|
title = {Question Generator
|
||||||
|
Natural Language Processing},
|
||||||
|
author = {Lupe Hernandez and Sam Randall, Ahmad Nazeri},
|
||||||
|
|
||||||
|
url = {http://cs230.stanford.edu/projects_fall_2020/reports/55771015.pdf},
|
||||||
|
urldate = {29/05/2023},
|
||||||
|
file = {55771015:Attachments/55771015.pdf:application/pdf}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,34 @@
|
||||||
\chapter{Building \acrfull{kg}}
|
\chapter{Building a Knowledge graph}
|
||||||
|
|
||||||
Graph-based knowledge representation has been researched for decades.
|
Graph-based knowledge representation has been researched for decades.
|
||||||
A knowledge graph acquires and integrates information into an ontology and applies a reasoner to derive new knowledge \parencite{LisaEhrlinger}.
|
A \acf{kg} acquires and integrates information into an ontology and applies a reasoner to derive new knowledge \parencite{LisaEhrlinger}.
|
||||||
The knowledge base is a dataset with formal semantics that can contain different kinds of knowledge, for example, rules, facts, axioms, definitions, statements, and primitives \parencite{Davies.2008cop.2006}.
|
The knowledge base is a dataset with formal semantics that can contain different kinds of knowledge, for example, rules, facts, axioms, definitions, statements, and primitives \parencite{Davies.2008cop.2006}.
|
||||||
|
|
||||||
% One of the first things required for \acrfull*{nlp} tasks is a creating a text corpus.
|
\begin{figure}[h!]
|
||||||
% In linguistics and \acrshort{nlp}, corpus refers to a collection of texts.
|
\centering
|
||||||
|
\includesvg[scale=0.5]{Thesis_kg.svg}
|
||||||
|
\caption{\acl{kg} architecture}
|
||||||
|
\label{fig:kg}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
\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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{figure}[h!]
|
\begin{figure}[h!]
|
||||||
\centering
|
\centering
|
||||||
\includesvg{pronoun.svg}
|
\includesvg{pronoun.svg}
|
||||||
\caption{kuch kar bhai}
|
\caption{kuch kar bhai}
|
||||||
\label{fig:440}
|
\label{fig:propn}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
1
doc/images/Thesis_kg.svg
Normal file
1
doc/images/Thesis_kg.svg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<svg width="1070" height="304" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="hidden"><defs><clipPath id="clip0"><rect x="0" y="0" width="1070" height="304"/></clipPath></defs><g clip-path="url(#clip0)"><rect x="0" y="0" width="1070" height="303.572" fill="#FFFFFF"/><rect x="37.5" y="65.4079" width="187" height="51.9269" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 84.8854 99)">Wiki API</text><rect x="37.5" y="138.305" width="187" height="51.9268" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 108.083 172)">PDF</text><rect x="37.5" y="217.194" width="187" height="51.9269" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 121.087 251)">...</text><rect x="350.5" y="64.4093" width="177" height="198.72" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 375.166 111)">NER</text><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 375.165 153)">POS tagging</text><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 369.385 202)">Dependency</text><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 369.385 231)">Parser</text><path d="M224.572 91.0461 359.977 120.775 359.834 121.426 224.428 91.6965ZM359.462 116.912 366.418 122.531 357.743 124.717Z" fill="#7F7F7F"/><path d="M0.00367651-0.332948 135.063 1.15842 135.056 1.82432-0.00367651 0.332948ZM133.772-2.51871 141.719 1.5649 133.684 5.47204Z" fill="#7F7F7F" transform="matrix(1.00141 0 0 -1 224.5 163.836)"/><path d="M0.119878-0.31064 133.717 51.2456 133.477 51.8669-0.119878 0.31064ZM133.793 47.3491 139.81 53.9539 130.916 54.8045Z" fill="#7F7F7F" transform="matrix(1.00141 0 0 -1 226.5 243.187)"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 46.1371 46)">Text sources</text><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 350.783 41)">NLP Library</text><rect x="603.5" y="64.4093" width="423" height="204.712" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#FFFFFF"/><rect x="819.5" y="109.346" width="198" height="79.8874" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 858.964 143)">Questioning</text><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 883.638 172)">Engine</text><rect x="612.5" y="107.349" width="198" height="83.8818" stroke="#787878" stroke-width="1.33375" stroke-miterlimit="8" fill="#A5A5A5"/><text font-family="Times New Roman,Times New Roman_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 630.983 157)">Knowledge base</text><text font-family="Calibri,Calibri_MSFontService,sans-serif" font-weight="400" font-size="24" transform="matrix(1 0 0 0.998593 612.253 83)">Knowledge Graph</text><path d="M8.27493e-07-0.332968 77.7378-0.332775 77.7378 0.333161-8.27493e-07 0.332968ZM76.4059-3.99543 84.3971 0.000209744 76.4059 3.99581Z" fill="#7F7F7F" transform="matrix(1.00141 0 0 -1 527.5 164.269)"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 4.1 KiB |
31
doc/index.ist
Normal file
31
doc/index.ist
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
% makeindex style file created by the glossaries package
|
||||||
|
% for document 'index' on 2023-5-29
|
||||||
|
actual '?'
|
||||||
|
encap '|'
|
||||||
|
level '!'
|
||||||
|
quote '"'
|
||||||
|
keyword "\\glossaryentry"
|
||||||
|
preamble "\\glossarysection[\\glossarytoctitle]{\\glossarytitle}\\glossarypreamble\n\\begin{theglossary}\\glossaryheader\n"
|
||||||
|
postamble "\%\n\\end{theglossary}\\glossarypostamble\n"
|
||||||
|
group_skip "\\glsgroupskip\n"
|
||||||
|
item_0 "\%\n"
|
||||||
|
item_1 "\%\n"
|
||||||
|
item_2 "\%\n"
|
||||||
|
item_01 "\%\n"
|
||||||
|
item_x1 "\\relax \\glsresetentrylist\n"
|
||||||
|
item_12 "\%\n"
|
||||||
|
item_x2 "\\relax \\glsresetentrylist\n"
|
||||||
|
delim_0 "\{\\glossaryentrynumbers\{\\relax "
|
||||||
|
delim_1 "\{\\glossaryentrynumbers\{\\relax "
|
||||||
|
delim_2 "\{\\glossaryentrynumbers\{\\relax "
|
||||||
|
delim_t "\}\}"
|
||||||
|
delim_n "\\delimN "
|
||||||
|
delim_r "\\delimR "
|
||||||
|
headings_flag 1
|
||||||
|
heading_prefix "\\glsgroupheading\{"
|
||||||
|
heading_suffix "\}\\relax \\glsresetentrylist "
|
||||||
|
symhead_positive "glssymbols"
|
||||||
|
numhead_positive "glsnumbers"
|
||||||
|
page_compositor "."
|
||||||
|
suffix_2p ""
|
||||||
|
suffix_3p ""
|
||||||
|
|
@ -1,23 +1,23 @@
|
||||||
\documentclass[12pt,twoside]{report}
|
\documentclass[12pt,twoside]{report}
|
||||||
|
|
||||||
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
|
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage[acronym]{glossaries}
|
\usepackage[nohyperlinks, printonlyused, withpage, smaller]{acronym}
|
||||||
\graphicspath{ {images/} }
|
|
||||||
\usepackage[sorting=ynt,backend=biber]{biblatex}
|
\usepackage[sorting=ynt,backend=biber]{biblatex}
|
||||||
% \usepackage{svg}
|
|
||||||
\usepackage[inkscapeformat=png]{svg}
|
\usepackage[inkscapeformat=png]{svg}
|
||||||
|
|
||||||
|
\graphicspath{ {images/} }
|
||||||
\addbibresource{References.bib}
|
\addbibresource{References.bib}
|
||||||
|
|
||||||
\includeonly{preliminary/title.tex,%
|
\includeonly{preliminary/title.tex,%
|
||||||
preliminary/dedication.tex,%
|
preliminary/dedication.tex,%
|
||||||
preliminary/abstract.tex,%
|
preliminary/abstract.tex,%
|
||||||
|
preliminary/acronyms.tex,%
|
||||||
chapters/introduction.tex,%
|
chapters/introduction.tex,%
|
||||||
chapters/chapter1.tex
|
chapters/chapter1.tex
|
||||||
}
|
}
|
||||||
\makeglossaries
|
|
||||||
\input{preliminary/acronyms.tex}
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
|
@ -27,12 +27,11 @@ chapters/chapter1.tex
|
||||||
|
|
||||||
%--------------------------------------------
|
%--------------------------------------------
|
||||||
\include{preliminary/title.tex}
|
\include{preliminary/title.tex}
|
||||||
|
% \include{preliminary/copyright.tex}
|
||||||
\include{preliminary/copyright.tex}
|
|
||||||
\include{preliminary/dedication.tex}
|
\include{preliminary/dedication.tex}
|
||||||
\include{preliminary/approval-sheet.tex}
|
% \include{preliminary/approval-sheet.tex}
|
||||||
\include{preliminary/certificate.tex}
|
% \include{preliminary/certificate.tex}
|
||||||
\include{preliminary/acknowledgement.tex}
|
% \include{preliminary/acknowledgement.tex}
|
||||||
|
|
||||||
\include{preliminary/dedication.tex}
|
\include{preliminary/dedication.tex}
|
||||||
\include{preliminary/abstract.tex}
|
\include{preliminary/abstract.tex}
|
||||||
|
|
@ -43,17 +42,17 @@ chapters/chapter1.tex
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
\listoffigures
|
\listoffigures
|
||||||
\listoftables
|
\listoftables
|
||||||
|
\include{preliminary/acronyms}
|
||||||
|
|
||||||
%----------------- chapters --------------------
|
%----------------- chapters --------------------
|
||||||
\pagenumbering{arabic}
|
\pagenumbering{arabic}
|
||||||
|
|
||||||
%---------------------------------------
|
%---------------------------------------
|
||||||
\include{chapters/introduction.tex}
|
\include{chapters/introduction.tex}
|
||||||
\include{chapters/chapter1.tex}
|
\include{chapters/chapter1}
|
||||||
|
|
||||||
\appendix
|
\appendix
|
||||||
\include{chapters/appendix.tex}
|
% \include{chapters/appendix.tex}
|
||||||
|
|
||||||
\clearpage
|
\clearpage
|
||||||
% \printglossary[type=\acronymtype]
|
% \printglossary[type=\acronymtype]
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
\newacronym{kg}{KG}{Knowledge Graph}
|
% \newacronym{kgs}{KGs}{Knowledge Graphs}
|
||||||
\newacronym{kgs}{KGs}{Knowledge Graphs}
|
% \newacronym{nlp}{NLP}{Natural Language Processing}
|
||||||
\newacronym{nlp}{NLP}{Natural Language Processing}
|
% \acro{ecu}[ECU]{European currency unit}
|
||||||
|
% \begin{acronym}[ECU]
|
||||||
|
|
||||||
|
|
||||||
|
\chapter*{List of abbreviations}
|
||||||
|
\begin{acronym}
|
||||||
|
\acro{kg}[KG]{Knowledge graph}
|
||||||
|
\acro{kb}[KB]{Knowledge base}
|
||||||
|
\acro{qe}[QE]{Questioning Engine}
|
||||||
|
\acro{nlp}[NLP]{Natural Language Processing}
|
||||||
|
|
||||||
|
\acro{qg}[QG]{Question generation}
|
||||||
|
|
||||||
|
\end{acronym}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue