Remove spaces around dependency tags

Change-Id: Ibe633617cc7cb27767cf4f6cc02a52c1e117beb7
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/MaltParserBridge.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/MaltParserBridge.kt
index da8fb05..90883d0 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/MaltParserBridge.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/MaltParserBridge.kt
@@ -39,7 +39,7 @@
             val head = edge.target.index
             val label = edge.toString()
             if (label.contains("DEPREL:")) {
-                val rel = edge.toString().substringAfter("DEPREL:")
+                val rel = edge.toString().substringAfter("DEPREL:").trim()
                 val old = morpho?.get(sentenceTokenOffsets[head - 1])
                 morpho?.set(
                     sentenceTokenOffsets[head - 1], KorapXml2Conllu.MorphoSpan(