KorAP / Koral

:pencil: Translation of query languages to serialized KoralQuery protocol
BSD 2-Clause "Simplified" License
10 stars 4 forks source link

Poliqarp Plus query: empty token with quantifier. #26

Closed margaretha closed 8 years ago

margaretha commented 8 years ago

query: []{3} should generate a koral group {@type:koral:group, operation:operation:repetition, operands:[{@type:koral:token}], boundary:{@type:koral:boundary,min:3,max:3} } Currently, it only generates "query":{"@type":"koral:token"}

See de.ids_mannheim.korap.query.serialize.PoliqarpPlusQueryProcessorTest.testEmptyTokens()

Akron commented 8 years ago

I can't verify that bug. The test seems to be wrong. I pushed a reformulation of the test via Gerrit (waiting for review). This test passes. Will close this ticket, once the reformulation is accepted by you.