KorAP / Krill

:mag: A Corpus Data Retrieval Index using Lucene for Look-Ups
BSD 2-Clause "Simplified" License
16 stars 3 forks source link

Missing implementation for COSMAS II-Prox-Option min/max. #98

Open Bodmo opened 7 months ago

Bodmo commented 7 months ago

There is currently no implementation for the Min-/Max hit grouping option od the Prox-Operator of COSMAS II. Ex. Q1 = A /s0 B (default for max). Q2 = A /s0,max B (same as Q1). Q3 = A /s0,min B (missing implementation)

The ANTLR-output of Q2 and Q3 contains a distinct info for that:

Q2 -> ANTLR -> GRP MAX Q3 -> ANTLR -> GRP MIN

But in both generated KoralQueries, the distinction is missing. The default for the KoralQuery seems to be the min-group.