allow to specify both tokenizations (extern and intern)
Change-Id: I2e3ff83e5122f803c5e4a18a0c1b89b93269d444
diff --git a/script/tei2korapxml b/script/tei2korapxml
index 2b2c6da..9ed2ae3 100755
--- a/script/tei2korapxml
+++ b/script/tei2korapxml
@@ -355,7 +355,9 @@
$ext_tok->tokenize($data);
- } elsif ( $_GEN_TOK_INT ){
+ }
+
+ if ( $_GEN_TOK_INT ){
$cons_tok->tokenize($data);
$aggr_tok->tokenize($data);
@@ -390,7 +392,9 @@
$text_id_esc
)
- } elsif ( $_GEN_TOK_INT ){
+ }
+
+ if ( $_GEN_TOK_INT ){
# Output token streams to zip streams
$cons_tok->to_zip(