Test and benchmark conversion of inline annotations
Change-Id: I2eaabb35373b2a4c87c329a4a5254a5f347e989c
diff --git a/script/tei2korapxml b/script/tei2korapxml
index 66f36b3..d1bb176 100755
--- a/script/tei2korapxml
+++ b/script/tei2korapxml
@@ -109,7 +109,7 @@
## TODO: optional
# handling inline annotations (inside $_TOKENS_TAG)
-my $_INLINE_ANNOT = 0; # on/off: set to 1 if inline annotations are present and should be processed (default: 0)
+my $_INLINE_ANNOT = $ENV{KORAPXMLTEI_INLINE}?1:0; # on/off: set to 1 if inline annotations are present and should be processed (default: 0)
my $_INLINE_LEM_RD = "lemma"; # from which attribute to read LEMMA information
my $_INLINE_ATT_RD = "ana"; # from which attribute to read POS information (and evtl. additional MSD - Morphosyntactic Descriptions)
# TODO: The format for the POS and MSD information has to suffice the regular expression ([^ ]+)( (.+))?