commit | 119f83d7f9aaae9afce2dae9b35c6930c889042c | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Mar 03 22:20:53 2024 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Mar 03 22:20:53 2024 +0100 |
tree | da7f684de9e931c360dd1b04ad465317dd272a2d | |
parent | 8086e93400de352b7f6f3950ef8204ef532e74c6 [diff] |
Always use morpho tokens Change-Id: I2822228f5d0f80974209468569d20a09ab495222
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt index 1852c7c..e2fe79d 100644 --- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt +++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
@@ -250,9 +250,7 @@ fname[docId] = zipEntry.name val fsSpans: NodeList = doc.getElementsByTagName("span") morpho[docId] = extractMorphoSpans(fsSpans) - if (!tokens.containsKey(docId) && sBoundsFromMorpho) { tokens[docId] = extractSpans(fsSpans) - } } }