Update on Overleaf.
This commit is contained in:
commit
7b0d4083fc
2913
ACM-Reference-Format.bst
Normal file
2913
ACM-Reference-Format.bst
Normal file
File diff suppressed because it is too large
Load Diff
66
Jenkinsfile
vendored
Normal file
66
Jenkinsfile
vendored
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
pipeline {
|
||||||
|
|
||||||
|
agent { label 'tau2013z' }
|
||||||
|
|
||||||
|
stages {
|
||||||
|
|
||||||
|
stage ('get-autozoil') {
|
||||||
|
steps {
|
||||||
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage ('build-pdf') {
|
||||||
|
steps {
|
||||||
|
sh """
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
archiveArtifacts artifacts: 'msc-michal-maciaszek.pdf', fingerprint: true
|
||||||
|
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
|
||||||
|
|
||||||
|
plot csvFileName: 'stats.txt',
|
||||||
|
csvSeries: [[
|
||||||
|
file: 'stats.txt',
|
||||||
|
exclusionValues: '',
|
||||||
|
displayTableFlag: false,
|
||||||
|
inclusionFlag: 'OFF',
|
||||||
|
url: '']],
|
||||||
|
group: 'Plot Group',
|
||||||
|
title: 'Plot Title',
|
||||||
|
style: 'line',
|
||||||
|
exclZero: false,
|
||||||
|
keepRecords: false,
|
||||||
|
logarithmic: false,
|
||||||
|
numBuilds: '',
|
||||||
|
useDescr: false,
|
||||||
|
yaxis: '',
|
||||||
|
yaxisMaximum: '',
|
||||||
|
yaxisMinimum: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stage ('autozoil') {
|
||||||
|
steps {
|
||||||
|
sh """
|
||||||
|
rm -f autozoil.xml
|
||||||
|
AUTOZOIL_DIR=autozoil make autozoil.xml
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
archiveArtifacts artifacts: 'autozoil.xml', fingerprint: true
|
||||||
|
junit 'autozoil.xml'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
106
Makefile
Normal file
106
Makefile
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
SHELL=/bin/bash
|
||||||
|
|
||||||
|
# Do not edit these values, they should be changed by modifying .cookiecutter.yml
|
||||||
|
# and re-applying the template
|
||||||
|
PAPER_ID=msc-michal-maciaszek
|
||||||
|
HAS_APPENDIX=no
|
||||||
|
LATEX_TEMPLATE=amu
|
||||||
|
WITH_ARXIV_PACKAGE=no
|
||||||
|
|
||||||
|
CONTENT_TEX_SOURCES=$(filter-out $(PAPER_ID).tex config.tex other-extras.tex autozoil-extras.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(wildcard *.tex))
|
||||||
|
|
||||||
|
CURRENT_DIR=$(shell pwd)
|
||||||
|
AUTOZOIL_DIR?=/opt/autozoil
|
||||||
|
AUTOZOIL_LOCALE=pl_PL
|
||||||
|
|
||||||
|
ifneq (,$(wildcard appendix.tex))
|
||||||
|
ifeq ($(LATEX_TEMPLATE),acl)
|
||||||
|
IS_APPENDIX_SEPARATE=yes
|
||||||
|
endif
|
||||||
|
ifeq ($(LATEX_TEMPLATE),eacl)
|
||||||
|
IS_APPENDIX_SEPARATE=yes
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(IS_APPENDIX_SEPARATE),yes)
|
||||||
|
HAS_SUPPLEMENT=yes
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(LATEX_TEMPLATE),pw-thesis)
|
||||||
|
EXTRA_PDFS=titlepage.pdf
|
||||||
|
endif
|
||||||
|
|
||||||
|
CONTENT_TEX_SOURCES_WITH_DIR := $(addprefix $(CURRENT_DIR)/, $(CONTENT_TEX_SOURCES))
|
||||||
|
SCOREFILES=$(shell perl extract-score-files.pl $(CONTENT_TEX_SOURCES))
|
||||||
|
|
||||||
|
clean_latex_stuff=rm -rf *.aux *.nav *.toc *.log *.out *.blg *.bbl autozoil-log.txt autozoil.xml the-appendix.pdf supplement.zip $(PAPER_ID).pdf $(PAPER_ID).zip arxiv-$(PAPER_ID).pdf arxiv-$(PAPER_ID).tar.gz abstract.txt sentences.txt stats.txt $(EXTRA_PDFS)
|
||||||
|
|
||||||
|
ifeq ($(HAS_SUPPLEMENT),yes)
|
||||||
|
all: $(PAPER_ID).pdf abstract.txt supplement.zip stats.txt sentences.txt
|
||||||
|
else
|
||||||
|
all: $(PAPER_ID).pdf abstract.txt stats.txt sentences.txt
|
||||||
|
endif
|
||||||
|
|
||||||
|
source-pack: $(PAPER_ID).zip
|
||||||
|
|
||||||
|
stats.txt: $(PAPER_ID).pdf helpers/stats.sh
|
||||||
|
bash helpers/stats.sh $< > $@
|
||||||
|
cat $@
|
||||||
|
|
||||||
|
$(PAPER_ID).pdf: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES) bibliography.bib $(SCOREFILES) $(EXTRA_PDFS)
|
||||||
|
pdflatex $<
|
||||||
|
bibtex $(PAPER_ID)
|
||||||
|
pdflatex $<
|
||||||
|
pdflatex $<
|
||||||
|
|
||||||
|
# to be copied and pasted as plain text (without LaTeX stuff)
|
||||||
|
abstract.txt: abstract.tex
|
||||||
|
cat $< | perl -pne 's/noqa\{[^}]+\}//g' | detex > $@
|
||||||
|
|
||||||
|
sentences.txt: $(PAPER_ID).pdf helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
||||||
|
bash helpers/get-sentences.sh $< > $@
|
||||||
|
|
||||||
|
scores/%.txt:
|
||||||
|
mkdir -p scores
|
||||||
|
curl "https://gonito.net/api/txt/score/"$* -o $@
|
||||||
|
|
||||||
|
autozoil-log.txt: $(CONTENT_TEX_SOURCES)
|
||||||
|
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log | tee $(CURRENT_DIR)/$@
|
||||||
|
|
||||||
|
autozoil.xml: $(CONTENT_TEX_SOURCES)
|
||||||
|
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --format xml --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log --exit-with-zero > $(CURRENT_DIR)/autozoil.xml
|
||||||
|
|
||||||
|
$(PAPER_ID).zip:
|
||||||
|
$(clean_latex_stuff)
|
||||||
|
rm -rf *~
|
||||||
|
zip -r $@ . -x '*.git*' '*.zip'
|
||||||
|
|
||||||
|
ifeq ($(HAS_SUPPLEMENT),yes)
|
||||||
|
supplement.zip: the-appendix.pdf
|
||||||
|
zip $@ $<
|
||||||
|
|
||||||
|
ifeq ($(IS_APPENDIX_SEPARATE),yes)
|
||||||
|
the-appendix.pdf: the-appendix.tex appendix.tex
|
||||||
|
pdflatex the-appendix
|
||||||
|
pdflatex the-appendix
|
||||||
|
pdflatex the-appendix
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(WITH_ARXIV_PACKAGE),yes)
|
||||||
|
# test whether a paper can be generated from the arxiv package
|
||||||
|
arxiv-$(PAPER_ID).pdf: arxiv-$(PAPER_ID).tar.gz helpers/generate-pdf-from-arxiv-package.sh
|
||||||
|
bash -xe helpers/generate-pdf-from-arxiv-package.sh $< $@
|
||||||
|
|
||||||
|
arxiv-$(PAPER_ID).tar.gz: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES) bibliography.bib $(SCOREFILES) helpers/prepare-arxiv-package.sh helpers/flatten-structure.pl
|
||||||
|
bash -xe helpers/prepare-arxiv-package.sh $(LATEX_TEMPLATE) $@
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(LATEX_TEMPLATE),pw-thesis)
|
||||||
|
titlepage.pdf: titlepage.tex
|
||||||
|
xelatex $<
|
||||||
|
endif
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(clean_latex_stuff)
|
5
README.md
Normal file
5
README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# msc-michal-maciaszek
|
||||||
|
|
||||||
|
Praca magisterska Michała Maciaszka
|
||||||
|
|
||||||
|
[![pipeline status](https://git.wmi.amu.edu.pl/filipg/msc-michal-maciaszek/badges/master/pipeline.svg)](https://git.wmi.amu.edu.pl/filipg/msc-michal-maciaszek/commits/master)
|
1
abstract-pl.tex
Normal file
1
abstract-pl.tex
Normal file
@ -0,0 +1 @@
|
|||||||
|
Streszczenie po polsku (dla niektórych szablonów).
|
1
abstract.tex
Normal file
1
abstract.tex
Normal file
@ -0,0 +1 @@
|
|||||||
|
Sample abstract.
|
2907
acmart.cls
Normal file
2907
acmart.cls
Normal file
File diff suppressed because it is too large
Load Diff
423
amu-diploma-thesis.cls
Normal file
423
amu-diploma-thesis.cls
Normal file
@ -0,0 +1,423 @@
|
|||||||
|
|
||||||
|
%% Klasa przygotowana do pisania prac licencjackich z matematyki,
|
||||||
|
%% copyright Paweł Mleczko 2015
|
||||||
|
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
||||||
|
\ProvidesClass{amu-diploma-thesis}[2015/3/03 UAM diploma thesis class file]
|
||||||
|
\LoadClass[11pt,oneside]{mwart}
|
||||||
|
%% page dimension
|
||||||
|
\baselineskip=15pt
|
||||||
|
\RequirePackage[a4paper,
|
||||||
|
textwidth=135mm,lines=42,
|
||||||
|
vmarginratio=1:1,hmarginratio=1:1,bindingoffset=0mm,%-6.5mm
|
||||||
|
headheight=9pt,headsep=25pt,footskip=25pt]{geometry}
|
||||||
|
%% headers, footers
|
||||||
|
\RequirePackage{fancyhdr}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
\lhead[\thepage]{{\fontsize{9pt}{9pt}\selectfont\emph{\leftmark}}}
|
||||||
|
\chead[]{}
|
||||||
|
\rhead[{\fontsize{9pt}{9pt}\selectfont\emph{\rightmark}}]{\thepage}
|
||||||
|
\lfoot[]{}
|
||||||
|
\cfoot[]{}
|
||||||
|
\rfoot[]{}
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\renewcommand{\footrulewidth}{0pt}
|
||||||
|
\fancypagestyle{titlepage}{%
|
||||||
|
\lhead[]{} \chead[]{} \rhead[]{}
|
||||||
|
\rfoot[]{} \cfoot[]{\thepage}
|
||||||
|
\lfoot[]{}
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\renewcommand{\footrulewidth}{0pt}}
|
||||||
|
%% math packages
|
||||||
|
\RequirePackage{amsmath}
|
||||||
|
\RequirePackage{amssymb}
|
||||||
|
%% language and fonts
|
||||||
|
%\RequirePackage[bitstream-charter]{mathdesign}
|
||||||
|
\RequirePackage{polski}
|
||||||
|
%% tikz
|
||||||
|
\RequirePackage{tikz,pgfplots}
|
||||||
|
%% miscellanea
|
||||||
|
\RequirePackage{lipsum}
|
||||||
|
\RequirePackage{xparse}
|
||||||
|
%% variable
|
||||||
|
\ExplSyntaxOn
|
||||||
|
\def\title#1{\def\Title{#1}}
|
||||||
|
\def\entitle#1{\def\Entitle{#1}}
|
||||||
|
\def\author#1{\def\Author{#1}}
|
||||||
|
\def\album#1{\def\Album{#1}}
|
||||||
|
\def\year#1{\def\Year{#1}}
|
||||||
|
\def\promotor#1{\def\Promotor{#1}}
|
||||||
|
\def\type#1{\def\Type{#1}}
|
||||||
|
\def\course#1{\def\Course{#1}}
|
||||||
|
\def\speciality#1{\def\Speciality{#1}}
|
||||||
|
\def\date#1{\def\Date{#1}}
|
||||||
|
\ExplSyntaxOff
|
||||||
|
%% table of contents
|
||||||
|
\newwrite\Tableofcontents
|
||||||
|
\def\Spis#1#2#3{%
|
||||||
|
\noindent\llap{\hbox to 30pt{\hfill\textbf{#1}~~}}\textbf{#2\hskip 4pt /\hskip 4pt #3}\par\vskip 6pt}
|
||||||
|
\def\spis#1#2{%
|
||||||
|
\noindent#1\hskip 4pt /\hskip 4pt #2\par\vskip 6pt}
|
||||||
|
\def\tableofcontents{%
|
||||||
|
\clearpage\mbox{ }
|
||||||
|
\vskip 2.5\baselineskip
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\vbox to 10\baselineskip{%
|
||||||
|
\bgroup\fontsize{18pt}{24pt}\selectfont\centering%
|
||||||
|
\textbf{Spis tre{\'s}ci}\par
|
||||||
|
\egroup%
|
||||||
|
}
|
||||||
|
\bgroup\fontsize{11pt}{15pt}\selectfont\raggedright\leftskip=30pt
|
||||||
|
\IfFileExists{./\jobname.tf}{\input{\jobname.tf}}{\relax}\par
|
||||||
|
\egroup%
|
||||||
|
\immediate\openout\Tableofcontents=\jobname.tf
|
||||||
|
}
|
||||||
|
%% sections
|
||||||
|
\ExplSyntaxOn
|
||||||
|
\def\dekoracja{\vrule width 40pt height .75pt depth 0pt\quad \vrule
|
||||||
|
width 1.5pt height 1.5pt depth 0pt \quad\vrule width 40pt height
|
||||||
|
.75pt depth 0pt\par \vskip .75\baselineskip}
|
||||||
|
|
||||||
|
\RenewDocumentCommand\section{sm}{%
|
||||||
|
\clearpage\mbox{ }
|
||||||
|
\vskip 2\baselineskip\thispagestyle{titlepage}
|
||||||
|
\IfBooleanTF#1%
|
||||||
|
{%
|
||||||
|
\vbox to 10\baselineskip{%
|
||||||
|
\bgroup\fontsize{16pt}{22pt}\selectfont\centering%
|
||||||
|
\vskip 1.5\baselineskip
|
||||||
|
\noindent\textbf{#2}\par
|
||||||
|
% \dekoracja
|
||||||
|
\egroup%
|
||||||
|
\immediate\write\Tableofcontents{%
|
||||||
|
\unexpanded{\Spis}{}{\unexpanded{#2}}{\thepage}}%
|
||||||
|
}\markboth{#2}{#2}}% with a star
|
||||||
|
{%
|
||||||
|
\refstepcounter{section}\setcounter{Counter}{0}%
|
||||||
|
\vbox to 10\baselineskip{%
|
||||||
|
\bgroup\fontsize{16pt}{22pt}\selectfont\centering%
|
||||||
|
\textbf{Rozdzia{\l}~\thesection}
|
||||||
|
\vskip .5\baselineskip
|
||||||
|
\textbf{#2}\par
|
||||||
|
% \dekoracja
|
||||||
|
\egroup
|
||||||
|
\immediate\write\Tableofcontents{%
|
||||||
|
\unexpanded{\Spis}{\thesection.}{\unexpanded{#2}}{\thepage}}%
|
||||||
|
}\markboth{Rozdzia{\l}~\thesection.~#2}{Rozdzia{\l}~\thesection.~#2}%
|
||||||
|
}% without a star
|
||||||
|
}
|
||||||
|
|
||||||
|
\newcounter{Counter} \setcounter{Counter}{0}
|
||||||
|
\renewcommand{\theCounter}{\thesection.\arabic{Counter}}
|
||||||
|
|
||||||
|
\RenewDocumentCommand\subsection{sm}{%
|
||||||
|
\vskip 2\baselineskip plus .5\baselineskip
|
||||||
|
%
|
||||||
|
\IfBooleanTF#1%
|
||||||
|
{%
|
||||||
|
\bgroup\fontsize{12pt}{16pt}\selectfont\centering%
|
||||||
|
\noindent\textbf{#2}\par\write\Tableofcontents{%
|
||||||
|
\unexpanded{\spis}{\unexpanded{#2}}{\thepage}}%
|
||||||
|
\egroup%
|
||||||
|
}% with a star
|
||||||
|
{%
|
||||||
|
\bgroup\fontsize{12pt}{16pt}\selectfont%
|
||||||
|
\noindent\textbf{#2}\par\write\Tableofcontents{%
|
||||||
|
\unexpanded{\spis}{\unexpanded{#2}}{\thepage}}%
|
||||||
|
\egroup%
|
||||||
|
}% without a star
|
||||||
|
\vskip 1\baselineskip plus .5\baselineskip}
|
||||||
|
\ExplSyntaxOff
|
||||||
|
%% enumerations etc
|
||||||
|
\RequirePackage{enumitem}
|
||||||
|
\setlist[enumerate,1]{label={\textup{\arabic*)}}}
|
||||||
|
\setlist[enumerate,2]{label=\roman*)}
|
||||||
|
\setlist[itemize,1]{label=--,leftmargin=0pt,itemindent=1.5em,topsep=0pt}
|
||||||
|
%% abstracts
|
||||||
|
\DeclareDocumentEnvironment{streszczenie}{}%
|
||||||
|
{%
|
||||||
|
\clearpage\thispagestyle{empty}
|
||||||
|
\noindent\textbf{\Title}\par
|
||||||
|
\vskip 1\baselineskip
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{Streszczenie}.}
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\egroup\par
|
||||||
|
}
|
||||||
|
\DeclareDocumentEnvironment{abstract}{}%
|
||||||
|
{%
|
||||||
|
\vskip 3\baselineskip
|
||||||
|
\noindent\textbf{\Entitle}\par
|
||||||
|
\vskip 1\baselineskip
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{Abstract}.}
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\egroup\par
|
||||||
|
}
|
||||||
|
%% theorems etc
|
||||||
|
\ExplSyntaxOn
|
||||||
|
\DeclareDocumentEnvironment{twierdzenie}{o}%
|
||||||
|
{%
|
||||||
|
\par\refstepcounter{Counter}\addvspace{.5\baselineskip plus .5\baselineskip}
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Twierdzenie}.}
|
||||||
|
}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Twierdzenie~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}\par
|
||||||
|
\addvspace{.5\baselineskip plus .5\baselineskip}
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{wniosek}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Wniosek}.}
|
||||||
|
}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Wniosek~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{definicja}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Definicja}.}
|
||||||
|
}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Definicja~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{stwierdzenie}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Stwierdzenie}.}
|
||||||
|
}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Stwierdzenie~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{lemat}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Lemat}.}
|
||||||
|
}{%
|
||||||
|
\bgroup\itshape
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Lemat~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{przyklad}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Przyk{\l}ad}.}
|
||||||
|
}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Przyk{\l}ad~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareDocumentEnvironment{uwaga}{o}%
|
||||||
|
{%
|
||||||
|
\refstepcounter{Counter}\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
\IfNoValueTF{#1}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Uwaga}.}
|
||||||
|
}{%
|
||||||
|
\bgroup
|
||||||
|
\noindent \textbf{\textup{\theCounter.~Uwaga~(#1)}.}
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\par
|
||||||
|
\IfNoValueTF{#1}{\egroup}{\egroup}
|
||||||
|
\vskip .5\baselineskip plus .5\baselineskip
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\def\qed{\(\square\)}
|
||||||
|
\DeclareDocumentEnvironment{proof}{}%
|
||||||
|
{%
|
||||||
|
\noindent\emph{Dow\'od}.}
|
||||||
|
{\nobreak\hfill\qed\par
|
||||||
|
\vskip 1\baselineskip}
|
||||||
|
\ExplSyntaxOff
|
||||||
|
%% typography
|
||||||
|
\RequirePackage{microtype}
|
||||||
|
\newcommand{\polishendash}{\ifhmode\unskip\fi\discretionary{--}{--}{--}\nolinebreak}
|
||||||
|
%% Titlepage
|
||||||
|
\def\Titlepage{%
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\bgroup\fontsize{14pt}{18pt}\selectfont\centering
|
||||||
|
Uniwersytet im. Adama Mickiewicza w Poznaniu\\
|
||||||
|
Wydzia{\l} Matematyki i Informatyki
|
||||||
|
|
||||||
|
\vskip 5\baselineskip
|
||||||
|
|
||||||
|
\bgroup\fontsize{18pt}{24pt}\selectfont\centering\bfseries
|
||||||
|
\Title\par
|
||||||
|
\egroup
|
||||||
|
|
||||||
|
\vskip 1\baselineskip
|
||||||
|
|
||||||
|
\bgroup\fontsize{14pt}{20pt}\selectfont\centering\bfseries
|
||||||
|
\Entitle\par
|
||||||
|
\egroup
|
||||||
|
|
||||||
|
\vskip 2\baselineskip
|
||||||
|
|
||||||
|
\bgroup\fontsize{14pt}{14pt}\selectfont\centering
|
||||||
|
\Author\par
|
||||||
|
\egroup
|
||||||
|
|
||||||
|
\vskip 1\baselineskip
|
||||||
|
|
||||||
|
\bgroup\fontsize{11pt}{15pt}\selectfont\centering
|
||||||
|
nr albumu \Album\par
|
||||||
|
\egroup
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
\hfill\begin{minipage}{.5\textwidth}%
|
||||||
|
\bgroup\fontsize{11pt}{15pt}\selectfont\raggedright
|
||||||
|
praca \Type{}\par
|
||||||
|
kierunek: \Course\par
|
||||||
|
specjalno\'s\'c: \Speciality\par
|
||||||
|
promotor: \Promotor\par
|
||||||
|
\egroup
|
||||||
|
\end{minipage}
|
||||||
|
|
||||||
|
\vskip 6\baselineskip
|
||||||
|
|
||||||
|
Pozna\'n{} \Year\par
|
||||||
|
\egroup\pagebreak}
|
||||||
|
%%
|
||||||
|
\def\gender#1{#1}
|
||||||
|
\def\male{\maletrue}
|
||||||
|
\def\female{\malefalse}
|
||||||
|
\newif\ifmale
|
||||||
|
\def\Sfirst#1{\def\@stat{#1}}
|
||||||
|
\def\Ssecond#1{\def\@Stat{#1}}
|
||||||
|
\def\Statement{%
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\ifmale
|
||||||
|
\hfill Pozna{\'n}, dnia \Date~r.
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
{\centering\bfseries O{\'s}wiadczenie\par}
|
||||||
|
|
||||||
|
\vskip 3\baselineskip
|
||||||
|
|
||||||
|
\noindent Ja, ni{\.z}ej podpisany \textbf{\Author{}} student
|
||||||
|
Wydzia{\l}u Matematyki i~Informatyki Uniwersytetu im. Adama
|
||||||
|
Mickiewicza w Poznaniu o{\'s}wiadczam, \.ze przedk{\l}adan\k{a}
|
||||||
|
prac\k{e} dyplomow\k{a} pt: \textbf{\Title} napisa{\l}em
|
||||||
|
samodzielnie. Oznacza to, \.z{}e przy pisaniu pracy, poza
|
||||||
|
niezb\k{e}dnymi konsultacjami, nie korzysta{\l}em z~pomocy innych
|
||||||
|
os\'o{}b, a~w~szczeg\'o{}lno{\'s}ci nie zleca{\l}em opracowania rozprawy
|
||||||
|
lub jej cz\k{e}\'s{}ci innym osobom, ani nie odpisywa{\l}em tej
|
||||||
|
rozprawy lub jej cz\k{e}\'sci od innych os\'o{}b.
|
||||||
|
|
||||||
|
O\'s{}wiadczam r\'o{}wnie\.z, \.z{}e egzemplarz pracy dyplomowej
|
||||||
|
w~wersji drukowanej jest ca{\l}kowicie zgodny z egzemplarzem pracy
|
||||||
|
dyplomowej w wersji elektronicznej.
|
||||||
|
|
||||||
|
\else
|
||||||
|
|
||||||
|
\noindent Ja, ni{\.z}ej podpisana \textbf{\Author{}} studentka
|
||||||
|
Wydzia{\l}u Matematyki i~Informatyki Uniwersytetu im. Adama
|
||||||
|
Mickiewicza w Poznaniu o{\'s}wiadczam, \.ze przedk{\l}adan\k{a}
|
||||||
|
prac\k{e} dyplomow\k{a} pt: \textbf{\Title} napisa{\l}am
|
||||||
|
samodzielnie. Oznacza to, \.z{}e przy pisaniu pracy, poza
|
||||||
|
niezb\k{e}dnymi konsultacjami, nie korzysta{\l}am z~pomocy innych
|
||||||
|
os\'o{}b, a~w~szczeg\'o{}lno{\'s}ci nie zleca{\l}am opracowania rozprawy
|
||||||
|
lub jej cz\k{e}\'s{}ci innym osobom, ani nie odpisywa{\l}am tej
|
||||||
|
rozprawy lub jej cz\k{e}\'sci od innych os\'o{}b.
|
||||||
|
|
||||||
|
O\'s{}wiadczam r\'o{}wnie\.z, \.z{}e egzemplarz pracy dyplomowej
|
||||||
|
w~wersji drukowanej jest ca{\l}kowicie zgodny z egzemplarzem pracy
|
||||||
|
dyplomowej w wersji elektronicznej.
|
||||||
|
|
||||||
|
\fi
|
||||||
|
|
||||||
|
Jednocze{\'s}nie przyjmuj\k{e} do wiadomo{\'s}ci, \.ze przypisanie
|
||||||
|
sobie, w pracy dyplomowej, autorstwa istotnego fragmentu lub innych
|
||||||
|
element\'ow cudzego utworu lub ustalenia naukowego stanowi
|
||||||
|
podstaw\k{e} stwierdzenia niewa\.zno{\'s}ci post\k{e}powania w sprawie
|
||||||
|
nadania tytu{\l}u zawodowego.
|
||||||
|
|
||||||
|
\vskip 1\baselineskip
|
||||||
|
|
||||||
|
\noindent [\@stat]\,* - wyra\.zam zgod\k{e} na
|
||||||
|
udost\k{e}pnianie mojej pracy w czytelni Archiwum UAM
|
||||||
|
|
||||||
|
\vskip .5\baselineskip
|
||||||
|
|
||||||
|
\noindent [\@Stat]\,* - wyra\.zam zgod\k{e} na udost\k{e}pnianie mojej pracy w zakresie
|
||||||
|
koniecznym do ochrony mojego prawa do autorstwa lub praw os\'ob trzecich
|
||||||
|
|
||||||
|
\vskip 5\baselineskip
|
||||||
|
|
||||||
|
\hfill\begin{minipage}{.5\textwidth}\fontsize{9pt}{9pt}\selectfont\centering
|
||||||
|
(czytelny podpis studenta)\par
|
||||||
|
\end{minipage}
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
\bgroup\fontsize{9pt}{11pt}\selectfont
|
||||||
|
\noindent *\,Nale\.zy wpisa{\'c} TAK w przypadku wyra{\.z}enia zgody na udost\k{e}pnianie pracy
|
||||||
|
w czytelni Archiwum UAM, NIE w przypadku braku zgody. Niewype{\l}nienie
|
||||||
|
pola oznacza brak zgody na udost\k{e}pnianie pracy.\par
|
||||||
|
\egroup\clearpage}
|
||||||
|
|
||||||
|
|
||||||
|
%% before start
|
||||||
|
\AtBeginDocument{\baselineskip=15pt\def\le{\leq}
|
||||||
|
\def\ge{\geq}}
|
||||||
|
\AtEndDocument{\immediate\closeout\Tableofcontents}
|
||||||
|
\endinput
|
||||||
|
|
5
autozoil-extras.tex
Normal file
5
autozoil-extras.tex
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
\newcommand{\code}[1]{\texttt{#1}}
|
||||||
|
\newcommand{\noqa}[1]{}
|
||||||
|
\newcommand{\noqall}[1]{}
|
||||||
|
|
3
autozoil-via-docker.sh
Normal file
3
autozoil-via-docker.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker run -v $(pwd):/link -it loxygen/autozoil /opt/autozoil/autozoil --locale en_US /link/main.tex --alt-log-file /link/msc-michal-maciaszek.log
|
29
bibliography.bib
Normal file
29
bibliography.bib
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
|
||||||
|
@inproceedings{gralinski-etal-2019-geval,
|
||||||
|
title = "{GE}val: Tool for Debugging {NLP} Datasets and Models",
|
||||||
|
author = "Grali{\'n}ski, Filip and
|
||||||
|
Wr{\'o}blewska, Anna and
|
||||||
|
Stanis{\l}awek, Tomasz and
|
||||||
|
Grabowski, Kamil and
|
||||||
|
G{\'o}recki, Tomasz",
|
||||||
|
booktitle = "Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP",
|
||||||
|
month = aug,
|
||||||
|
year = "2019",
|
||||||
|
address = "Florence, Italy",
|
||||||
|
publisher = "Association for Computational Linguistics",
|
||||||
|
url = "https://www.aclweb.org/anthology/W19-4826",
|
||||||
|
pages = "254--262",
|
||||||
|
abstract = "This paper presents a simple but general and effective method to debug the output of machine learning (ML) supervised models, including neural networks. The algorithm looks for features that lower the evaluation metric in such a way that it cannot be ascribed to chance (as measured by their p-values). Using this method {--} implemented as MLEval tool {--} you can find: (1) anomalies in test sets, (2) issues in preprocessing, (3) problems in the ML model itself. It can give you an insight into what can be improved in the datasets and/or the model. The same method can be used to compare ML models or different versions of the same model. We present the tool, the theory behind it and use cases for text-based models of various types.",
|
||||||
|
}
|
||||||
|
|
||||||
|
@incollection {gonito2016,
|
||||||
|
title = {Gonito.net -- Open Platform for Research Competition, Cooperation and Reproducibility},
|
||||||
|
author = "Grali{\'n}ski, Filip and Jaworski, Rafa{\l} and Borchmann, {\L}ukasz and Wierzcho{\'n}, Piotr",
|
||||||
|
editor = "Branco, António and Calzolari , Nicoletta and Choukri, Khalid",
|
||||||
|
booktitle = {Proceedings of the 4REAL Workshop: Workshop on Research Results Reproducibility and Resources Citation in Science and Technology of Language},
|
||||||
|
year = "2016",
|
||||||
|
pages = "13-20"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
382
coling2020.sty
Normal file
382
coling2020.sty
Normal file
@ -0,0 +1,382 @@
|
|||||||
|
|
||||||
|
% File coling2018.sty
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2018. It is identical to
|
||||||
|
% the style file for Coling 2016.
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2016. It is identical to
|
||||||
|
% the style file for Coling 2014.
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2014. It is nearly identical to
|
||||||
|
% the style file for ACL 2014.
|
||||||
|
%
|
||||||
|
% Changes made: switched to single column format and removed margin around
|
||||||
|
% abtract
|
||||||
|
|
||||||
|
% This is the LaTeX style file for ACL 2014. It is nearly identical to
|
||||||
|
% the style files for ACL 2013, EACL 2006, ACL2005, ACL 2002, ACL
|
||||||
|
% 2001, ACL 2000, EACL 95 and EACL 99.
|
||||||
|
%
|
||||||
|
% Changes made include: adapt layout to A4 and centimeters, widen abstract
|
||||||
|
|
||||||
|
% This is the LaTeX style file for ACL 2000. It is nearly identical to the
|
||||||
|
% style files for EACL 95 and EACL 99. Minor changes include editing the
|
||||||
|
% instructions to reflect use of \documentclass rather than \documentstyle
|
||||||
|
% and removing the white space before the title on the first page
|
||||||
|
% -- John Chen, June 29, 2000
|
||||||
|
|
||||||
|
% To convert from submissions prepared using the style file aclsub.sty
|
||||||
|
% prepared for the ACL 2000 conference, proceed as follows:
|
||||||
|
% 1) Remove submission-specific information: \whichsession, \id,
|
||||||
|
% \wordcount, \otherconferences, \area, \keywords
|
||||||
|
% 2) \summary should be removed. The summary material should come
|
||||||
|
% after \maketitle and should be in the ``abstract'' environment
|
||||||
|
% 3) Check all citations. This style should handle citations correctly
|
||||||
|
% and also allows multiple citations separated by semicolons.
|
||||||
|
% 4) Check figures and examples. Because the final format is double-
|
||||||
|
% column, some adjustments may have to be made to fit text in the column
|
||||||
|
% or to choose full-width (\figure*} figures.
|
||||||
|
% 5) Change the style reference from aclsub to acl2000, and be sure
|
||||||
|
% this style file is in your TeX search path
|
||||||
|
|
||||||
|
|
||||||
|
% This is the LaTeX style file for EACL-95. It is identical to the
|
||||||
|
% style file for ANLP '94 except that the margins are adjusted for A4
|
||||||
|
% paper. -- abney 13 Dec 94
|
||||||
|
|
||||||
|
% The ANLP '94 style file is a slightly modified
|
||||||
|
% version of the style used for AAAI and IJCAI, using some changes
|
||||||
|
% prepared by Fernando Pereira and others and some minor changes
|
||||||
|
% by Paul Jacobs.
|
||||||
|
|
||||||
|
% Papers prepared using the aclsub.sty file and acl.bst bibtex style
|
||||||
|
% should be easily converted to final format using this style.
|
||||||
|
% (1) Submission information (\wordcount, \subject, and \makeidpage)
|
||||||
|
% should be removed.
|
||||||
|
% (2) \summary should be removed. The summary material should come
|
||||||
|
% after \maketitle and should be in the ``abstract'' environment
|
||||||
|
% (between \begin{abstract} and \end{abstract}).
|
||||||
|
% (3) Check all citations. This style should handle citations correctly
|
||||||
|
% and also allows multiple citations separated by semicolons.
|
||||||
|
% (4) Check figures and examples. Because the final format is double-
|
||||||
|
% column, some adjustments may have to be made to fit text in the column
|
||||||
|
% or to choose full-width (\figure*} figures.
|
||||||
|
|
||||||
|
% Place this in a file called aclap.sty in the TeX search path.
|
||||||
|
% (Placing it in the same directory as the paper should also work.)
|
||||||
|
|
||||||
|
% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
|
||||||
|
% other style hackers, including Barbara Beeton.
|
||||||
|
% This style is NOT guaranteed to work. It is provided in the hope
|
||||||
|
% that it will make the preparation of papers easier.
|
||||||
|
%
|
||||||
|
% There are undoubtably bugs in this style. If you make bug fixes,
|
||||||
|
% improvements, etc. please let me know. My e-mail address is:
|
||||||
|
% pfps@research.att.com
|
||||||
|
|
||||||
|
% Papers are to be prepared using the ``acl'' bibliography style,
|
||||||
|
% as follows:
|
||||||
|
% \documentclass[11pt]{article}
|
||||||
|
% \usepackage{acl2000}
|
||||||
|
% \title{Title}
|
||||||
|
% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
|
||||||
|
% Author 3 \\ Address line \\ Address line}
|
||||||
|
% \begin{document}
|
||||||
|
% ...
|
||||||
|
% \bibliography{bibliography-file}
|
||||||
|
% \bibliographystyle{acl}
|
||||||
|
% \end{document}
|
||||||
|
|
||||||
|
% Author information can be set in various styles:
|
||||||
|
% For several authors from the same institution:
|
||||||
|
% \author{Author 1 \and ... \and Author n \\
|
||||||
|
% Address line \\ ... \\ Address line}
|
||||||
|
% if the names do not fit well on one line use
|
||||||
|
% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
|
||||||
|
% For authors from different institutions:
|
||||||
|
% \author{Author 1 \\ Address line \\ ... \\ Address line
|
||||||
|
% \And ... \And
|
||||||
|
% Author n \\ Address line \\ ... \\ Address line}
|
||||||
|
% To start a seperate ``row'' of authors use \AND, as in
|
||||||
|
% \author{Author 1 \\ Address line \\ ... \\ Address line
|
||||||
|
% \AND
|
||||||
|
% Author 2 \\ Address line \\ ... \\ Address line \And
|
||||||
|
% Author 3 \\ Address line \\ ... \\ Address line}
|
||||||
|
|
||||||
|
% If the title and author information does not fit in the area allocated,
|
||||||
|
% place \setlength\titlebox{<new height>} right after
|
||||||
|
% \usepackage{coling2018}
|
||||||
|
% where <new height> can be something larger than 5cm
|
||||||
|
|
||||||
|
\typeout{Conference Style for COLING 2020 -- prepared 29 Sep. 2019}
|
||||||
|
|
||||||
|
% NOTE: Some laser printers have a serious problem printing TeX output.
|
||||||
|
% These printing devices, commonly known as ``write-white'' laser
|
||||||
|
% printers, tend to make characters too light. To get around this
|
||||||
|
% problem, a darker set of fonts must be created for these devices.
|
||||||
|
%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
% A4 modified by Eneko; again modified by Alexander for 5cm titlebox
|
||||||
|
\setlength{\paperwidth}{21cm} % A4
|
||||||
|
\setlength{\paperheight}{29.7cm}% A4
|
||||||
|
\setlength\topmargin{-0.5cm}
|
||||||
|
\setlength\oddsidemargin{0cm}
|
||||||
|
\setlength\textheight{24.7cm}
|
||||||
|
\setlength\textwidth{16.0cm}
|
||||||
|
\setlength\columnsep{0.6cm}
|
||||||
|
\newlength\titlebox
|
||||||
|
\setlength\titlebox{5cm}
|
||||||
|
\setlength\headheight{5pt}
|
||||||
|
\setlength\headsep{0pt}
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
|
||||||
|
\flushbottom \sloppy
|
||||||
|
|
||||||
|
% We're never going to need a table of contents, so just flush it to
|
||||||
|
% save space --- suggested by drstrip@sandia-2
|
||||||
|
\def\addcontentsline#1#2#3{}
|
||||||
|
|
||||||
|
|
||||||
|
\newif\ifcolingfinal
|
||||||
|
\colingfinalfalse
|
||||||
|
\def\colingfinalcopy{\global\colingfinaltrue}
|
||||||
|
|
||||||
|
% Footnote without marker for copyright/licence statement
|
||||||
|
% Code taken from
|
||||||
|
% http://tex.stackexchange.com/questions/30720/footnote-without-a-marker
|
||||||
|
% which claims to have taken it, in turn, from
|
||||||
|
% http://help-csli.stanford.edu/tex/latex-footnotes.shtml#unnumber
|
||||||
|
% Note the comment that there may be numbering problems if
|
||||||
|
% you are using the hyperref package.
|
||||||
|
\def\blfootnote{\xdef\@thefnmark{}\@footnotetext}
|
||||||
|
|
||||||
|
% Code taken from
|
||||||
|
% https://tex.stackexchange.com/questions/124410/hyperref-modifies-bibliography-style-of-acl-style-files
|
||||||
|
% which fixes incorrect bibliography styles when using the hyperref package
|
||||||
|
\newcommand{\@BIBLABEL}{\@emptybiblabel}
|
||||||
|
\newcommand{\@emptybiblabel}[1]{}
|
||||||
|
|
||||||
|
\newcommand\outauthor{
|
||||||
|
\begin{tabular}[t]{c}
|
||||||
|
\ifcolingfinal
|
||||||
|
\bf\@author
|
||||||
|
\else
|
||||||
|
% Avoiding common accidental de-anonymization issue. --MM
|
||||||
|
\bf Anonymous COLING submission
|
||||||
|
\fi
|
||||||
|
\end{tabular}}
|
||||||
|
|
||||||
|
% Title stuff, taken from deproc.
|
||||||
|
\def\maketitle{\par
|
||||||
|
\begingroup
|
||||||
|
\def\thefootnote{\fnsymbol{footnote}}
|
||||||
|
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
|
||||||
|
\@maketitle \@thanks
|
||||||
|
\endgroup
|
||||||
|
\setcounter{footnote}{0}
|
||||||
|
\let\maketitle\relax \let\@maketitle\relax
|
||||||
|
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
|
||||||
|
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
|
||||||
|
\linewidth\hsize \vskip 0.125in minus 0.125in \centering
|
||||||
|
{\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
|
||||||
|
{\def\and{\unskip\enspace{\rm and}\enspace}%
|
||||||
|
\def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
|
||||||
|
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
|
||||||
|
\def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
|
||||||
|
\vskip 0.25in plus 1fil minus 0.125in
|
||||||
|
\hbox to \linewidth\bgroup\large \hfil\hfil
|
||||||
|
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
|
||||||
|
\hbox to \linewidth\bgroup\large \hfil\hfil
|
||||||
|
\hbox to 0pt\bgroup\hss \outauthor
|
||||||
|
\hss\egroup
|
||||||
|
\hfil\hfil\egroup}
|
||||||
|
\vskip 0.3in plus 2fil minus 0.1in
|
||||||
|
}}
|
||||||
|
|
||||||
|
% margins for abstract
|
||||||
|
\renewenvironment{abstract}%
|
||||||
|
{\centerline{\large\bf Abstract}%
|
||||||
|
\begin{list}{}%
|
||||||
|
{\setlength{\rightmargin}{0.6cm}%
|
||||||
|
\setlength{\leftmargin}{0.6cm}}%
|
||||||
|
\item[]\ignorespaces}%
|
||||||
|
{\unskip\end{list}}
|
||||||
|
|
||||||
|
%\renewenvironment{abstract}{\centerline{\large\bf
|
||||||
|
% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
|
||||||
|
|
||||||
|
|
||||||
|
% bibliography
|
||||||
|
|
||||||
|
\def\thebibliography#1{\section*{References}
|
||||||
|
\global\def\@listi{\leftmargin\leftmargini
|
||||||
|
\labelwidth\leftmargini \advance\labelwidth-\labelsep
|
||||||
|
\topsep 1pt plus 2pt minus 1pt
|
||||||
|
\parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
|
||||||
|
\list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
|
||||||
|
\advance\leftmargin\labelsep\usecounter{enumi}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
|
||||||
|
\def\@up#1{\raise.2ex\hbox{#1}}
|
||||||
|
|
||||||
|
% most of cite format is from aclsub.sty by SMS
|
||||||
|
|
||||||
|
% don't box citations, separate with ; and a space
|
||||||
|
% also, make the penalty between citations negative: a good place to break
|
||||||
|
% changed comma back to semicolon pj 2/1/90
|
||||||
|
% \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
% \def\@citea{}\@cite{\@for\@citeb:=#2\do
|
||||||
|
% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
|
||||||
|
% {b@\@citeb}{{\bf ?}\@warning
|
||||||
|
% {Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
% {\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
|
||||||
|
% don't box citations, separate with ; and a space
|
||||||
|
% Replaced for multiple citations (pj)
|
||||||
|
% don't box citations and also add space, semicolon between multiple citations
|
||||||
|
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
\def\@citea{}\@cite{\@for\@citeb:=#2\do
|
||||||
|
{\@citea\def\@citea{; }\@ifundefined
|
||||||
|
{b@\@citeb}{{\bf ?}\@warning
|
||||||
|
{Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
{\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
|
||||||
|
% Allow short (name-less) citations, when used in
|
||||||
|
% conjunction with a bibliography style that creates labels like
|
||||||
|
% \citename{<names>, }<year>
|
||||||
|
%
|
||||||
|
\let\@internalcite\cite
|
||||||
|
\def\cite{\def\citename##1{##1, }\@internalcite}
|
||||||
|
\def\shortcite{\def\citename##1{}\@internalcite}
|
||||||
|
\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
|
||||||
|
|
||||||
|
% Macros for \newcite, which leaves name in running text, and is
|
||||||
|
% otherwise like \shortcite.
|
||||||
|
\def\@citexb[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
\def\@citea{}\@newcite{\@for\@citeb:=#2\do
|
||||||
|
{\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
|
||||||
|
{b@\@citeb}{{\bf ?}\@warning
|
||||||
|
{Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
{\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
|
||||||
|
|
||||||
|
\def\@newcite#1#2{{#1\if@tempswa, #2\fi)}}
|
||||||
|
|
||||||
|
\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
|
||||||
|
|
||||||
|
%%% More changes made by SMS (originals in latex.tex)
|
||||||
|
% Use parentheses instead of square brackets in the text.
|
||||||
|
\def\@cite#1#2{({#1\if@tempswa , #2\fi})}
|
||||||
|
|
||||||
|
% Don't put a label in the bibliography at all. Just use the unlabeled format
|
||||||
|
% instead.
|
||||||
|
\def\thebibliography#1{\vskip\parskip%
|
||||||
|
\vskip\baselineskip%
|
||||||
|
\def\baselinestretch{1}%
|
||||||
|
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
|
||||||
|
\vskip-\parskip%
|
||||||
|
\vskip-\baselineskip%
|
||||||
|
\section*{References\@mkboth
|
||||||
|
{References}{References}}\list
|
||||||
|
{}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
|
||||||
|
\setlength{\itemindent}{-\parindent}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
\let\endthebibliography=\endlist
|
||||||
|
|
||||||
|
% Allow for a bibliography of sources of attested examples
|
||||||
|
\def\thesourcebibliography#1{\vskip\parskip%
|
||||||
|
\vskip\baselineskip%
|
||||||
|
\def\baselinestretch{1}%
|
||||||
|
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
|
||||||
|
\vskip-\parskip%
|
||||||
|
\vskip-\baselineskip%
|
||||||
|
\section*{Sources of Attested Examples\@mkboth
|
||||||
|
{Sources of Attested Examples}{Sources of Attested Examples}}\list
|
||||||
|
{}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
|
||||||
|
\setlength{\itemindent}{-\parindent}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
\let\endthesourcebibliography=\endlist
|
||||||
|
|
||||||
|
\def\@lbibitem[#1]#2{\item[]\if@filesw
|
||||||
|
{ \def\protect##1{\string ##1\space}\immediate
|
||||||
|
\write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
|
||||||
|
|
||||||
|
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
|
||||||
|
{\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces}
|
||||||
|
|
||||||
|
% sections with less space
|
||||||
|
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
|
||||||
|
-0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
|
||||||
|
\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
|
||||||
|
-0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
|
||||||
|
%% changed by KO to - values to get teh initial parindent right
|
||||||
|
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
|
||||||
|
-0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
|
||||||
|
\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
|
||||||
|
0.5ex minus .2ex}{-1em}{\normalsize\bf}}
|
||||||
|
\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
|
||||||
|
0.5ex minus .2ex}{-1em}{\normalsize\bf}}
|
||||||
|
|
||||||
|
% Footnotes
|
||||||
|
\footnotesep 6.65pt %
|
||||||
|
\skip\footins 9pt plus 4pt minus 2pt
|
||||||
|
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
|
||||||
|
\setcounter{footnote}{0}
|
||||||
|
|
||||||
|
% Lists and paragraphs
|
||||||
|
\parindent 1em
|
||||||
|
\topsep 4pt plus 1pt minus 2pt
|
||||||
|
\partopsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\itemsep 2pt plus 1pt minus 0.5pt
|
||||||
|
\parsep 2pt plus 1pt minus 0.5pt
|
||||||
|
|
||||||
|
\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
|
||||||
|
\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
|
||||||
|
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
|
||||||
|
|
||||||
|
\def\@listi{\leftmargin\leftmargini}
|
||||||
|
\def\@listii{\leftmargin\leftmarginii
|
||||||
|
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
|
||||||
|
\topsep 2pt plus 1pt minus 0.5pt
|
||||||
|
\parsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\itemsep \parsep}
|
||||||
|
\def\@listiii{\leftmargin\leftmarginiii
|
||||||
|
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
|
||||||
|
\topsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
|
||||||
|
\itemsep \topsep}
|
||||||
|
\def\@listiv{\leftmargin\leftmarginiv
|
||||||
|
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
|
||||||
|
\def\@listv{\leftmargin\leftmarginv
|
||||||
|
\labelwidth\leftmarginv\advance\labelwidth-\labelsep}
|
||||||
|
\def\@listvi{\leftmargin\leftmarginvi
|
||||||
|
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
|
||||||
|
|
||||||
|
\abovedisplayskip 7pt plus2pt minus5pt%
|
||||||
|
\belowdisplayskip \abovedisplayskip
|
||||||
|
\abovedisplayshortskip 0pt plus3pt%
|
||||||
|
\belowdisplayshortskip 4pt plus3pt minus3pt%
|
||||||
|
|
||||||
|
% Less leading in most fonts (due to the narrow columns)
|
||||||
|
% The choices were between 1-pt and 1.5-pt leading
|
||||||
|
\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
|
||||||
|
\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
|
||||||
|
\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
|
||||||
|
\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
|
||||||
|
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
|
||||||
|
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
|
||||||
|
\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
|
||||||
|
\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
|
||||||
|
\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
|
||||||
|
\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
|
||||||
|
|
16
config.tex
Normal file
16
config.tex
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
% In this file some settings are passed from cookiecutter to LaTeX.
|
||||||
|
% Do not edit this file, but rather change .cookiecutter.yml and
|
||||||
|
% re-apply the template.
|
||||||
|
|
||||||
|
% whether an appendix was created
|
||||||
|
\newif\ifwithappendix
|
||||||
|
\withappendixfalse
|
||||||
|
|
||||||
|
|
||||||
|
% whether the appendix will actually be shown;
|
||||||
|
% note: in some template, the appendix cannot be rendered,
|
||||||
|
% you can use this conditional to change the content of your paper
|
||||||
|
% (for instance, to remove parts like "see Appendix")
|
||||||
|
\newif\ifappendixshown
|
||||||
|
\appendixshowntrue
|
||||||
|
|
12
contributions.yaml
Normal file
12
contributions.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# This is in YAML format so we can easily generate
|
||||||
|
# contribution declarations to be signed by the authors.
|
||||||
|
|
||||||
|
title: Porównanie skuteczności metod maszynowego uczenia strumieniowego i wsadowego
|
||||||
|
authors:
|
||||||
|
- author: Jan Iksinski
|
||||||
|
contributions:
|
||||||
|
- did this
|
||||||
|
- did that
|
||||||
|
- author: Józef Igrekowski
|
||||||
|
contributions:
|
||||||
|
- did something else
|
BIN
cup_logo-eps-converted-to.pdf
Normal file
BIN
cup_logo-eps-converted-to.pdf
Normal file
Binary file not shown.
11074
cup_logo.eps
Normal file
11074
cup_logo.eps
Normal file
File diff suppressed because one or more lines are too long
20
extract-score-files.pl
Normal file
20
extract-score-files.pl
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
my %found = ();
|
||||||
|
|
||||||
|
for my $filepath (@ARGV) {
|
||||||
|
open(my $ih, '<', $filepath);
|
||||||
|
binmode($ih, ':utf8');
|
||||||
|
|
||||||
|
while (my $line=<$ih>) {
|
||||||
|
while ($line =~ m<\\gonito(?:barescore|score|entry)\{([^\}]+)\}>g) {
|
||||||
|
$found{$1} = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
close($ih);
|
||||||
|
}
|
||||||
|
|
||||||
|
print join(" ", map { "scores/${_}.txt" } sort keys %found);
|
10
extras.tex
Normal file
10
extras.tex
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
\input{other-extras}
|
||||||
|
\input{autozoil-extras}
|
||||||
|
|
||||||
|
%%% Local Variables:
|
||||||
|
%%% mode: latex
|
||||||
|
|
||||||
|
%%% TeX-master: "msc-michal-maciaszek"
|
||||||
|
%%% End:
|
28
helpers/flatten-structure.pl
Normal file
28
helpers/flatten-structure.pl
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
# Flatten file structure (needed for an arxiv package)
|
||||||
|
|
||||||
|
use utf8;
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
binmode(STDIN, ':utf8');
|
||||||
|
binmode(STDOUT, ':utf8');
|
||||||
|
|
||||||
|
my $subdir_regexp = qr{(?:figures|images)};
|
||||||
|
|
||||||
|
sub fix_subdirs {
|
||||||
|
my ($p) = @_;
|
||||||
|
|
||||||
|
$p =~ s{/}{-}g;
|
||||||
|
|
||||||
|
return $p;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (my $line=<>) {
|
||||||
|
$line =~ s<\\graphicspath\{(\s*)\{${subdir_regexp}/\}(\s*)><\\graphicspath\{$1\{.\}$2>;
|
||||||
|
$line =~ s<(\\includegraphics[^{}]*?\{)./${subdir_regexp}/><${1}./>g;
|
||||||
|
$line =~ s<(\\includegraphics[^{}]*?\{)([^\.][^{}]+/)><"$1".fix_subdirs($2)>ge;
|
||||||
|
$line =~ s<\\input\{inputs/><\\input\{inputs->g;
|
||||||
|
$line =~ s<\\minput\{scores/\#1\.txt\}><\\minput{scores-#1.txt}>g;
|
||||||
|
print $line;
|
||||||
|
}
|
32
helpers/generate-pdf-from-arxiv-package.sh
Normal file
32
helpers/generate-pdf-from-arxiv-package.sh
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
arxiv_package="$1"
|
||||||
|
target_pdf="$2"
|
||||||
|
|
||||||
|
gentmpdir=$(mktemp -d 2>/dev/null || mktemp -d -t 'gentmpdir')
|
||||||
|
|
||||||
|
cp "$arxiv_package" "$gentmpdir/"
|
||||||
|
|
||||||
|
cd "$gentmpdir"
|
||||||
|
|
||||||
|
tar xvf "$arxiv_package"
|
||||||
|
|
||||||
|
for f in *
|
||||||
|
do
|
||||||
|
if [[ -d "$f" ]]
|
||||||
|
then
|
||||||
|
echo >&2 "Unexpected directory: '$f'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
main_source=ms
|
||||||
|
main_source_file="${main_source}.tex"
|
||||||
|
|
||||||
|
pdflatex "$main_source_file"
|
||||||
|
pdflatex "$main_source_file"
|
||||||
|
pdflatex "$main_source_file"
|
||||||
|
|
||||||
|
cd -
|
||||||
|
|
||||||
|
cp "$gentmpdir/ms.pdf" "$target_pdf"
|
3
helpers/get-sentences.sh
Normal file
3
helpers/get-sentences.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
bash helpers/pdf-to-plain-text.sh "$1" | perl helpers/strip-references.pl | perl -pne 'chomp $_; $_.=" "' | python3 -m syntok.segmenter
|
3
helpers/pdf-to-plain-text.sh
Normal file
3
helpers/pdf-to-plain-text.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pdftotext "$1" - | fgrep -v 'Confidential Review Copy' | grep -P -v '^(ACL 2020 Submission \*\*\*\. Confidential Review Copy\. DO NOT DISTRIBUTE\.|Anonymous ACL submission|Abstract|Results|Conclusions|https?://\S+)\s*$' | grep '[^[:space:]]' | egrep '[a-zA-Z]{2}' | perl -pne 's/\f//g;' | uniq
|
133
helpers/prepare-arxiv-package.sh
Normal file
133
helpers/prepare-arxiv-package.sh
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
if command -v arxiv_latex_cleaner > /dev/null 2>/dev/null;
|
||||||
|
then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo >&2 "Please install arxiv_latex_cleaner"
|
||||||
|
echo >&2 " git clone https://github.com/google-research/arxiv-latex-cleaner"
|
||||||
|
echo >&2 " cd arxiv_latex_cleaner"
|
||||||
|
echo >&2 " python3 setup.py install"
|
||||||
|
echo >&2 " (you might need to install zlib1g-dev and libjpeg8-dev packages first)"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
latex_template="$1"
|
||||||
|
package_file="$2"
|
||||||
|
|
||||||
|
packtmpdir=$(mktemp -d 2>/dev/null || mktemp -d -t 'packtmpdir')
|
||||||
|
project_dir="$packtmpdir/project"
|
||||||
|
project_arxiv_dir="$packtmpdir/project_arXiv"
|
||||||
|
mkdir -p "$packtmpdir/project"
|
||||||
|
|
||||||
|
arxiv_main_file=ms.tex
|
||||||
|
|
||||||
|
copy_to_project()
|
||||||
|
{
|
||||||
|
for f in "$@"
|
||||||
|
do
|
||||||
|
if [[ -r "$project_dir/$f" ]]
|
||||||
|
then
|
||||||
|
echo >&2 "The file '$f' will be overwritten. Something is wrong!!!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
cp "$@" "$project_dir/"
|
||||||
|
}
|
||||||
|
|
||||||
|
handle_subdir()
|
||||||
|
{
|
||||||
|
subdir="$1"
|
||||||
|
|
||||||
|
if [[ -d "$subdir" ]]
|
||||||
|
then
|
||||||
|
find $subdir -type f | while read f
|
||||||
|
do
|
||||||
|
nf=$(echo "$f" | perl -pne 's{^[^/]+/}{}; s{/}{-}')
|
||||||
|
dst="$project_dir/$subdir-$nf"
|
||||||
|
if [[ "$f" == *.tex ]]
|
||||||
|
then
|
||||||
|
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
||||||
|
else
|
||||||
|
cp $f $dst
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
handle_subdir images
|
||||||
|
handle_subdir figures
|
||||||
|
handle_subdir scores
|
||||||
|
handle_subdir inputs
|
||||||
|
|
||||||
|
for latex_file in *.tex
|
||||||
|
do
|
||||||
|
if [[ "$latex_file" == "$arxiv_main_file" ]]
|
||||||
|
then
|
||||||
|
echo >&2 "Your repo cannot contain '$arxiv_main_file' file."
|
||||||
|
echo >&2 "This file is restricted for arxiv purposes"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
target_file="$project_dir/$latex_file"
|
||||||
|
|
||||||
|
if [[ "$latex_file" == "msc-michal-maciaszek.tex" ]]
|
||||||
|
then
|
||||||
|
target_file="$project_dir/$arxiv_main_file"
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl helpers/flatten-structure.pl < "$latex_file" > "$target_file"
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ "$latex_template" == "vanilla" ]]
|
||||||
|
then
|
||||||
|
:
|
||||||
|
elif [[ "$latex_template" == "tacl" ]]
|
||||||
|
then
|
||||||
|
copy_to_project tacl2018v2.sty acl.bst acl_natbib.bst
|
||||||
|
elif [[ "$latex_template" == "acl" ]]
|
||||||
|
then
|
||||||
|
copy_to_project acl2020.sty acl.bst acl_natbib.bst
|
||||||
|
elif [[ "$latex_template" == "nle" ]]
|
||||||
|
then
|
||||||
|
copy_to_project nle.cls nlelike.bst cup_logo.eps cup_logo-eps-converted-to.pdf
|
||||||
|
elif [[ "$latex_template" == "sigconf" ]]
|
||||||
|
then
|
||||||
|
copy_to_project acmart.cls ACM-Reference-Format.bst
|
||||||
|
elif [[ "$latex_template" == "pw-thesis" ]]
|
||||||
|
then
|
||||||
|
:
|
||||||
|
elif [[ "$latex_template" == "coling" ]]
|
||||||
|
then
|
||||||
|
copy_to_project coling2020.sty acl.bst
|
||||||
|
elif [[ "$latex_template" == "llncs" ]]
|
||||||
|
then
|
||||||
|
copy_to_project llncs.cls splncs04.bst
|
||||||
|
elif [[ "$latex_template" == "emnlp" ]]
|
||||||
|
then
|
||||||
|
copy_to_project emnlp2020.sty acl.bst acl_natbib.bst
|
||||||
|
elif [[ "$latex_template" == "eacl" ]]
|
||||||
|
then
|
||||||
|
copy_to_project eacl2021.sty acl.bst acl_natbib.bst
|
||||||
|
elif [[ "$latex_template" == "poleval" ]]
|
||||||
|
then
|
||||||
|
copy_to_project poleval.bst poleval.cls
|
||||||
|
else
|
||||||
|
echo >&2 "Unknown template '$latex_template'!!!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
copy_to_project bibliography.bib
|
||||||
|
|
||||||
|
perl -pne 's/^\s*\\usepackage\{xurl\}$//' -i "$project_dir/other-extras.tex"
|
||||||
|
|
||||||
|
heredir=`pwd`
|
||||||
|
|
||||||
|
main_source=ms
|
||||||
|
main_source_file="${main_source}.tex"
|
||||||
|
|
||||||
|
(cd "$project_dir" && pdflatex "$main_source_file" && bibtex "$main_source" && rm "${main_source}.pdf")
|
||||||
|
|
||||||
|
arxiv_latex_cleaner "$project_dir" --commands_to_delete '\todo'
|
||||||
|
perl -pne 's/\\bibliography\{bibliography\}/\\bibliography\{ms\}/' -i "$project_arxiv_dir/$main_source_file"
|
||||||
|
(cd "$project_arxiv_dir" && tar zvcf "$heredir/$package_file" .)
|
18
helpers/stats.sh
Normal file
18
helpers/stats.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
here_dir=$(dirname "$0")
|
||||||
|
echo $here_dir
|
||||||
|
|
||||||
|
pdf_file="$1"
|
||||||
|
|
||||||
|
if [[ "$pdf_file" == "" ]]
|
||||||
|
then
|
||||||
|
>&2 echo "no file given"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl -e 'print "PHYSICAL PAGES\tCHARACTERS WITH SPACES\tSTANDARD PAGES\n"'
|
||||||
|
pages=$(pdfinfo "$1" | perl -ne 'print "$1\n" if /Pages:\s+(\d+)/')
|
||||||
|
chars=$(bash $here_dir/pdf-to-plain-text.sh "$1" | wc -m)
|
||||||
|
spages=$(echo "scale=1; $chars / 1800.0" | bc)
|
||||||
|
echo "$pages $chars $spages"
|
28
helpers/strip-references.pl
Normal file
28
helpers/strip-references.pl
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
my @previously_skipped = ();
|
||||||
|
|
||||||
|
my $was_reference = 0;
|
||||||
|
|
||||||
|
while (my $line=<STDIN>) {
|
||||||
|
chomp $line;
|
||||||
|
|
||||||
|
if ($line =~ /^References$/) {
|
||||||
|
if ($was_reference) {
|
||||||
|
for my $pline (@previously_skipped) {
|
||||||
|
print "$pline\n";
|
||||||
|
}
|
||||||
|
@previously_skipped = ();
|
||||||
|
} else {
|
||||||
|
$was_reference = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($was_reference) {
|
||||||
|
push @previously_skipped, $line;
|
||||||
|
} else {
|
||||||
|
print "$line\n";
|
||||||
|
}
|
||||||
|
}
|
24
helpers/synchro.sh
Normal file
24
helpers/synchro.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
. helpers/vars
|
||||||
|
|
||||||
|
if [[ "$OVERLEAF_GIT_URL" == "" ]]
|
||||||
|
then
|
||||||
|
>&2 echo "Please set OVERLEAF_GIT_URL in `helpers/vars`"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -e .git && ! -z "$(git status --untracked-files=no --porcelain)" ]]; then
|
||||||
|
>&2 echo "Uncommited changes, commit your changes first"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
git remote add overleaf "$OVERLEAF_GIT_URL" || git remote set-url overleaf "$OVERLEAF_GIT_URL"
|
||||||
|
|
||||||
|
git config credential.helper "cache --timeout=10000000"
|
||||||
|
|
||||||
|
git pull origin master
|
||||||
|
git pull overleaf master
|
||||||
|
|
||||||
|
git push overleaf master
|
||||||
|
git push origin master
|
2
helpers/vars
Normal file
2
helpers/vars
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# to be included with .
|
||||||
|
OVERLEAF_GIT_URL=
|
4
install-hooks.sh
Normal file
4
install-hooks.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash -xe
|
||||||
|
|
||||||
|
cp hooks/pre-push .git/hooks/pre-push
|
||||||
|
chmod 700 .git/hooks/pre-push
|
1
keywords-pl.tex
Normal file
1
keywords-pl.tex
Normal file
@ -0,0 +1 @@
|
|||||||
|
jedno słowo kluczowe, inne słowo kluczowe
|
1
keywords.tex
Normal file
1
keywords.tex
Normal file
@ -0,0 +1 @@
|
|||||||
|
some keyword, another keyword
|
17
main.tex
Normal file
17
main.tex
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
\section{Main}
|
||||||
|
|
||||||
|
This is a~sample paper~\cite{gonito2016}.
|
||||||
|
See the experiments described \bycite{gonito2016}.
|
||||||
|
|
||||||
|
Please put your content here.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
\subsection{Gonito}
|
||||||
|
|
||||||
|
Gonito submission should be referenced like this
|
||||||
|
\gonitoscore{6ab4979e4629c5559feba452b7ca74c0cac89ebb}%
|
||||||
|
\footnote{Reference codes to repositories stored at
|
||||||
|
Gonito.net~\cite{gonito2016} are given in curly brackets. Such a~repository may be also accessed by going
|
||||||
|
to \url{http://gonito.net/q} and entering the code there.}
|
15
metadata.tex
Normal file
15
metadata.tex
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
\title{ Porównanie skuteczności metod maszynowego uczenia strumieniowego i wsadowego } %% tytuł pracy
|
||||||
|
\entitle{English title} %% tytuł w języku angielskim
|
||||||
|
\author{ Michał Maciaszek } %% imię i~nazwisko autora pracy
|
||||||
|
\album{ 460985 } %% numer albumu
|
||||||
|
\promotor{ dr hab. Filip Graliński } %% nazwisko promotora
|
||||||
|
\year{2021} %% rok obrony pracy
|
||||||
|
\type{magisterska} %% rodzaj pracy
|
||||||
|
\course{ informatyka } %% kierunek studiów
|
||||||
|
\speciality{ sztuczna inteligencja } %% specjalność studiów
|
||||||
|
%% potrzebne do oświadczenia
|
||||||
|
\date{15.03.2021}
|
||||||
|
\gender{\male} %% należy wybrać \male lub \female
|
||||||
|
\Sfirst{TAK/NIE} %% proszę wpisać TAK lub NIE (zgoda na udostępnienie pracy w~czytelni)
|
||||||
|
\Ssecond{TAK/NIE} %% proszę wpisać TAK lub NIE (zgoda na ochronę praw autorskich)
|
50
msc-michal-maciaszek.tex
Normal file
50
msc-michal-maciaszek.tex
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% [paper-cutter clarifications]
|
||||||
|
%
|
||||||
|
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
||||||
|
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
||||||
|
% PLEASE EDIT main.tex INSTEAD.
|
||||||
|
%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\documentclass{amu-diploma-thesis}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
|
||||||
|
% ---------------------- PREAMBLE PART ------------------------------
|
||||||
|
|
||||||
|
\input{config}
|
||||||
|
\input{preamble}
|
||||||
|
\input{extras}
|
||||||
|
|
||||||
|
|
||||||
|
\newcommand{\citep}{\cite}
|
||||||
|
\newcommand{\citet}{\cite}
|
||||||
|
\newcommand\bycite[1]{przez~\citet{#1}}
|
||||||
|
|
||||||
|
%%
|
||||||
|
|
||||||
|
|
||||||
|
\input{metadata}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\Titlepage %% strona tytułowa pracy
|
||||||
|
\Statement %% oświadczenie
|
||||||
|
\tableofcontents %% spis treści
|
||||||
|
|
||||||
|
% streszczenie po polsku
|
||||||
|
\begin{streszczenie}
|
||||||
|
\input{abstract-pl}
|
||||||
|
\end{streszczenie}
|
||||||
|
|
||||||
|
\begin{abstract}
|
||||||
|
\input{abstract}
|
||||||
|
\end{abstract}
|
||||||
|
|
||||||
|
\input{main}
|
||||||
|
|
||||||
|
\bibliographystyle{unsrt}
|
||||||
|
\bibliography{bibliography}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
|
3
msc-michal-maciaszek.tf
Normal file
3
msc-michal-maciaszek.tf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
\Spis {1.}{Main}{5}
|
||||||
|
\spis {Gonito}{5}
|
||||||
|
\Spis {}{\refname }{6}
|
1107
nlelike.bst
Normal file
1107
nlelike.bst
Normal file
File diff suppressed because it is too large
Load Diff
40
other-extras.tex
Normal file
40
other-extras.tex
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
|
||||||
|
% various custom definitions
|
||||||
|
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage[textsize=tiny]{todonotes}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{booktabs}
|
||||||
|
\usepackage{latexsym}
|
||||||
|
|
||||||
|
% so that footnotes in tables would work
|
||||||
|
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment
|
||||||
|
|
||||||
|
\usepackage{footnote}
|
||||||
|
\makesavenoteenv{tabular}
|
||||||
|
\makesavenoteenv{table}
|
||||||
|
\makesavenoteenv{table*}
|
||||||
|
|
||||||
|
% for better typesetting of URLs
|
||||||
|
|
||||||
|
\usepackage{xurl}
|
||||||
|
|
||||||
|
% input without unwanted end-of-line characters
|
||||||
|
|
||||||
|
\newcommand\minput[1]{%
|
||||||
|
\input{#1}%
|
||||||
|
\ifhmode\ifnum\lastnodetype=11 \unskip\fi\fi}
|
||||||
|
|
||||||
|
% Gonito stuff
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\usepackage{xstring}
|
||||||
|
% Format a reference to a Gonito submission
|
||||||
|
\newcommand{\gonitoref}[1]{\{\href{https://gonito.net/q/#1}{\StrMid{#1}{1}{6}}\}}
|
||||||
|
% A bare score from Gonito
|
||||||
|
\newcommand{\gonitobarescore}[1]{\minput{scores/#1.txt}}
|
||||||
|
% A score from Gonito along with a reference
|
||||||
|
\newcommand{\gonitoscore}[1]{\gonitobarescore{#1} \gonitoref{#1}}
|
||||||
|
% A reference and a score as two cells in a table
|
||||||
|
\newcommand{\gonitoentry}[1]{\gonitoref{#1} & \minput{scores/#1.txt}}
|
||||||
|
|
4
preamble.tex
Normal file
4
preamble.tex
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
% extra packages and definitions
|
||||||
|
|
||||||
|
\usepackage{amsmath}
|
33
run-gitlab-runner.sh
Normal file
33
run-gitlab-runner.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ "$TEMPLATE_REPO_URL" == "" ]]
|
||||||
|
then
|
||||||
|
echo >&2 "Set the TEMPLATE_REPO_URL variable!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'gitlab-runner launched locally does not handle `include` directives.'
|
||||||
|
echo 'THIS IS AN UGLY WORK-AROUND FOR https://gitlab.com/gitlab-org/gitlab-runner/issues/3327'
|
||||||
|
|
||||||
|
template_version=$(grep -P "^\s*ref:\s*'[0-9.]+'\s*$" .gitlab-ci.yml | grep -o -P '[0-9.]+')
|
||||||
|
|
||||||
|
cookiecutter_paper_dir=`mktemp -d -t run-gitlab-runner.XXXXXXXXXXX`
|
||||||
|
(cd $cookiecutter_paper_dir && git clone ${TEMPLATE_REPO_DIR} -b $template_version)
|
||||||
|
|
||||||
|
new_gitlab_ci_yml=`mktemp -t new-gitlab-ci-yml.XXXXXXXXX`
|
||||||
|
|
||||||
|
perl -ne 'print if 1../THIS IS AN UGLY WORK-AROUND/' < .gitlab-ci.yml > $new_gitlab_ci_yml
|
||||||
|
cat ${cookiecutter_paper_dir}/cookiecutter-*-paper/main.yml >> $new_gitlab_ci_yml
|
||||||
|
|
||||||
|
cp $new_gitlab_ci_yml .gitlab-ci.yml
|
||||||
|
|
||||||
|
current_commit=`git rev-parse HEAD`
|
||||||
|
|
||||||
|
# committing the manufactured .gitlab-ci.yml for a moment
|
||||||
|
git add .gitlab-ci.yml
|
||||||
|
git commit -m 'TEMPORARY COMMIT. DO NOT MERGE'
|
||||||
|
|
||||||
|
gitlab-runner exec docker "$@"
|
||||||
|
|
||||||
|
# going back to the original commit
|
||||||
|
git reset --hard $current_commit
|
1
scores/6ab4979e4629c5559feba452b7ca74c0cac89ebb.txt
Normal file
1
scores/6ab4979e4629c5559feba452b7ca74c0cac89ebb.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
19.501
|
Loading…
Reference in New Issue
Block a user