-
Notifications
You must be signed in to change notification settings - Fork 0
/
Thesis.tex
308 lines (235 loc) · 11.4 KB
/
Thesis.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Thesis
% LaTeX Template
% Version 1.2 (29/7/12)
%
% This template has been downloaded from:
% http://www.latextemplates.com
%
% Original authors:
% Steven Gunn
% http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/
% and
% Sunil Patel
% http://www.sunilpatel.co.uk/thesis-template/
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Note:
% Make sure to edit document variables in the Thesis.cls file
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{00A0}{~}
\graphicspath{{./Figures/}} % Specifies the directory where pictures are stored
\usepackage[square, comma, sort&compress]{natbib} % Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers'
% Package for writing graph
\usepackage{pgfplots}
% To add highlighting
\usepackage{soul}
% Packages for use with nomenclature
\usepackage[intoc]{nomencl}
\makenomenclature
%\renewcommand{\nomname}{List of Abbreviations}
\usepackage{mfirstuc} % Added for function which makes the first character of a word upper case
\newcommand*{\nom}[2]{#1\nomenclature{\makefirstuc{#1}}{#2}}
\newcommand*{\fig}[2]{
\begin{figure}[ht]
\begin{center}
\includegraphics[width=0.7\textwidth]{#1.png}
\caption{#2}
\label{#1}
\end{center}
\end{figure}
}
\usepackage{listings}
\renewcommand*{\lstlistlistingname}{List of Listings}
\usepackage{color}
\definecolor{lightgray}{rgb}{.9,.9,.9}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}
\lstdefinelanguage{JavaScript}{
keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
keywordstyle=\color{blue}\bfseries,
ndkeywords={class, export, boolean, throw, implements, import, this},
ndkeywordstyle=\color{darkgray}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{//},
morecomment=[s]{/*}{*/},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{red}\ttfamily,
morestring=[b]',
morestring=[b]"
}
\lstset{
language=JavaScript,
backgroundcolor=\color{lightgray},
extendedchars=true,
basicstyle=\footnotesize\ttfamily,
showstringspaces=false,
showspaces=false,
numbers=left,
numberstyle=\footnotesize,
numbersep=9pt,
tabsize=2,
breaklines=true,
showtabs=false,
captionpos=b
}
%\hypersetup{hidelinks=true} % Go to http://en.wikibooks.org/wiki/LaTeX/Hyperlinks for information about configuration
\title{\ttitle} % Defines the thesis title - don't touch this
\def\theartefact{MaDaME}
\def\Theartefact{MaDaME}
\def\THEARTEFACT{MADAME}
\def\website{\url{http://madame.elseth.me}}
\begin{document}
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages
\setstretch{1.5} % Line spacing of 1.3
% Define the page headers using the FancyHdr package and set up for one-sided printing
\fancyhead{} % Clears all page headers and footers
\rhead{\thepage} % Sets the right side header to show the page number
\lhead{} % Clears the left side page header
\pagestyle{fancy} % Finally, use the "fancy" page style to implement the FancyHdr headers
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % New command to make the lines in the title page
% PDF meta-data
\hypersetup{pdftitle={\ttitle}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\includegraphics[width=8cm]{Figures/uib-emblem-svart} \\[0.5cm]
% \includegraphics{uib-emblem-svart}\vfill % University/department logo - uncomment to place it
\textsc{\LARGE \univname}\\[1.5cm] % University name
\textsc{\Large Master Thesis}\\[0.5cm] % Thesis type
\HRule \\[0.4cm] % Horizontal line
{\huge \bfseries \ttitle}\\[0.4cm] % Thesis title
\HRule \\[1.5cm] % Horizontal line
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
\href{http://blog.elseth.me}{\authornames} % Author name - remove the \href bracket to remove the link
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
{\supname} % Supervisor name - remove the \href bracket to remove the link
\end{flushright}
\end{minipage}\\[2cm]
% \large \textit{A thesis submitted in fulfilment of the requirements\\ for the degree of \degreename}\\[0.3cm] % University requirement text
\textit{in the}\\[0.1cm]
\groupname\\\deptname\\[0.5cm] % Research group name and department name
{\large \today}\\[1cm] % Date
\end{center}
\end{titlepage}
%----------------------------------------------------------------------------------------
% QUOTATION PAGE
%----------------------------------------------------------------------------------------
\pagestyle{empty} % No headers or footers for the following pages
\null\vfill % Add some space to move the quote down the page a bit
\textit{``It depends upon what the meaning of the word 'is' is"}
\begin{flushright}
-- Bill Clinton
\end{flushright}
\vfill\vfill\vfill\vfill\vfill\vfill\null % Add some space at the bottom to position the quote just right
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE
%----------------------------------------------------------------------------------------
\addtotoc{Abstract} % Add the "Abstract" page entry to the Contents
\abstract{\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
The rapid increase in the amount of information generated highlights the need for better strategies for searching
for relevant content.
Using Semantic Web technologies we can search using concepts and their properties and relations to each other.
To enable the use of Semantic Web technologies documents on the Web need to contain metadata which can describe their content in a way readable by computers.
This thesis will describe the development of \theartefact,
a prototype system that will help users add this metadata to their documents using only natural language.
The tool will utilize WordNet to disambiguate natural language,
and as an intermediary to find mappings into formal ontologies.
The thesis will examine the feasibility of using the hypernym relation, and the hyponyms of hypernyms,
for finding mappings to more general categories when no direct mapping exists.
}
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% ACKNOWLEDGEMENTS
%----------------------------------------------------------------------------------------
\setstretch{1.5} % Reset the line-spacing to 1.3 for body text (if it has changed)
\acknowledgements{\addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics
I would first and foremost like to thank my supervisor Csaba Veres.
Our talks during the course of my work on the thesis were inspiring.
Your ideas and knowledge of the field was crucial during the development of \theartefact,
and the tool would have been what it is without it.
I would also like to thank you for your feedback and recommendations on writing this thesis.
Thank you, to all my friends on the master's course, for good technical and academic discussions and also for lunches,
coffee breaks, and making the
Last but not least I would like to thank my wife, who bore with me when I was unbearable,
and supported me through all my work.
}
\clearpage % Start a new page
%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES/NOMENCLATURES PAGES
%----------------------------------------------------------------------------------------
\pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back
\lhead{\emph{Contents}} % Set the left side page header to "Contents"
\tableofcontents % Write out the Table of Contents
\lhead{\emph{List of Figures}} % Set the left side page header to "List of Figures"
\listoffigures % Write out the List of Figures
\lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
\listoftables % Write out the List of Tables
\lhead{\emph{List of Listings}} % Set the left side page header to "List of Listings"
\addcontentsline{toc}{chapter}{List of Listings}
\lstlistoflistings
\lhead{\emph{Nomenclature}} % Set the left side page header to "List of Listings"
\printnomenclature[5em] % Print the page header and list of nomenclature
%----------------------------------------------------------------------------------------
% DEDICATION
%----------------------------------------------------------------------------------------
% \setstretch{1.5} % Return the line spacing back to 1.3
% \pagestyle{empty} % Page style needs to be empty for this page
% \dedicatory{For/Dedicated to/To my\ldots} % Dedication text
% \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%----------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{fancy} % Return the page headers back to the "fancy" style
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\input{./Chapters/Introduction}
\input{./Chapters/Theory}
\input{./Chapters/Methodology}
\input{./Chapters/DesignAndDevelopment}
\input{./Chapters/Analysis-Discussion}
\input{./Chapters/Conclusion}
%----------------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------------
%\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%\appendix % Cue to tell LaTeX that the following 'chapters' are Appendices
% Include the appendices of the thesis as separate files from the Appendices folder
% Uncomment the lines as you write the Appendices
%\input{./Appendices/AppendixA}
%\input{./Appendices/AppendixB}
%\input{./Appendices/AppendixC}
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\backmatter
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\label{Bibliography}
%\lhead{\emph{Bibliography}} % Change the page header to say "Bibliography"
\bibliographystyle{apalike} % Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliography{bib/library} % The references (bibliography) information are stored in the file named "Bibliography.bib"
\end{document}