this is just for demonstration that the offsets are now done in the KorAP way
Change-Id: Ia87bdb7ca3d2aa890de903ed884ab41cfedb7477
diff --git a/nkjp2korap.xsl b/nkjp2korap.xsl
index 729d916..62cb436 100644
--- a/nkjp2korap.xsl
+++ b/nkjp2korap.xsl
@@ -90,16 +90,8 @@
<xsl:sequence select="
$value,
map {
- string(parent::tei:seg/@xml:id): ($our_base,$our_base + string-length() - 1)
+ string(parent::tei:seg/@xml:id): ($our_base,$our_base + string-length())
}"/>
-
-<!-- <xsl:sequence select="
- $value,
- map {
- 'id': string(parent::tei:seg/@xml:id),
- 'start': $previous_index + xs:integer(f:is_preceded_by_ws(parent::tei:seg)), messed up
- 'end': string-length()
- }"/>-->
</xsl:accumulator-rule>
</xsl:accumulator>