2korapxml: Trim docid

to avoid spurious trailing spaces

Change-Id: I2b7d80a6add6c6b8867f785813c16dbd0f5c43cd
diff --git a/script/conllu2korapxml b/script/conllu2korapxml
index eaa06aa..e285abf 100755
--- a/script/conllu2korapxml
+++ b/script/conllu2korapxml
@@ -115,6 +115,7 @@
         }
       } elsif(/^(?:#|0\.2)\s+text_id\s*[:=]\s*(.*)/) {
         $docid=$1;
+        $docid =~ s/\s+$//;
         my $docSigle = $docid;
         $docSigle =~ s/\..*//;
         if($docSigle ne $lastDocSigle) {