KorAP / Krill

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

Support for arity and tokenarity #60

Open margaretha opened 5 years ago

margaretha commented 5 years ago

Krill should support arity and tokenarity, which are unary operators in Annis QL.

An example of Koral query serialization of arity is shown below.

 "attr": {
      "@type": "koral:term",
      "arity": {
        "@type": "koral:boundary",
        "max": 4,
        "min": 4
      }
    }

Until arity and tokenarity is fully supported, Krill should set a warning in the JSON-LD response.