serhii.net

In the middle of the desert you can say anything you want

16 Jan 2019

Day 6. Internship report, vim German spellcheck, and a lot of German language.

Kept working on my internship report, hopefully I’ll finish it today. % Also tried to clean up the code for the algotrading thingy to make it use much more pandas.

Latex

Comment in bibtex: no easy and compatible way to do it. (see this).\ Page numbering:

\pagenumbering{arabic}

To insert a tilde (~): \textasciitilde

And in general:

abbr IEC Israel Electric Corporation
abbr SZ Stromzähler
abbr LF Lastprognose
abbr ML Maschinelles Lernen
abbr DB Datenbank
abbr AD Erkennung von Anomalien

Deutsch

km^2 = Quadratmeter = km$^2 \ Die Vergütung. \ Anomaly Detection - die Erkennung von Anomalien. \ verwenden \ 15 minute intervals -> 15-Minuten-Intervalls (auch “im Abständen von 15 Minuten”) \ Month rhythm -> Monat__s__rhythmus.\ basically -> im Gr__u__nde \ plöTZLich, EinflUss, drUck, grOßes, wöchiges, regelmäßig, DatenschUtz. \ reCHerCHiert, DiagraMM, Kategorie \ “und dann habe ich wieder von vorne angefangen” \ “fraghaft” existiert nicht, fragwürdig/flaglich\ Eingabedatei, not Eingangdatei\ Datei(f), Daten(pl) \ draft -> der Entwurf

I seem to have a problem remembering where the Umlauts are. I’ll fix this with Anki. Should’ve started doing it a long time ago.

Vim

yank word: yaw. (Not inner, the entire thing, with all eventual paretheses etc.) \ Rechschreibung: pacman -S vim-spell-de, after this :setlocal spell spelllang=de_de \ Here are the important commands.

]s Gehe zum nächsten falschen Wort \ [s Gehe zum vorherigen falschen Wort \ zg Fügt das Wort unter dem Cursor dem Wörterbuch hinzu, das in der Variable spellfile steht. \ zw Fügt das Wort als falsch der Wörterbuchdatei aus der spellfile-Variable hinzu \ z= Bietet eine Auswahl von Korrekturvorschlägen an \

I added: map zr z=1<CR>, so now zr replaces the word under cursor with the first variant suggested. I love vim for the ability to do this.

Latex

Picture with caption:

\captionsetup[figure]{labelfont={bf},name={Bild.},font={small}, labelsep=period}

\begin{figure}[h]
\centering
\includegraphics[width=0.45\textwidth]{data/lstm-structure.png}
\includegraphics[width=0.45\textwidth]{data/lstm-1.png}
\caption{One-point-ahead prediction mit zwei LSTMs.}
\end{figure}
Nel mezzo del deserto posso dire tutto quello che voglio.