Closed margaretha closed 1 month ago
These are two issues. One is: a) Primary data should respect the max values, even for span expansion and b) span expansion for maxes should probably take context size into account for max expansion.
I have created another issue for handling span expansion using context size. See https://github.com/KorAP/Krill/issues/144
When calling getMatch with sentence expansion=true, the annotation of the match is cut according to the
krill.match.max.tokens
but the primary data (surface text) not.Primary data should respect the
krill.match.max.tokens
andkrill.context.max.tokens
.Some suggestions for span expansion approaches: