Open ngawangtrinley opened 4 years ago
I understand the need but there is close to no chance this feature comes on pyrrha. This is a very different structure. On the other hand, you can always export to tei and use xquery or the likes to do so?
Le mer. 12 août 2020 à 5:34 PM, ngawangtrinley notifications@github.com a écrit :
Is your feature request related to a problem? Please describe. Not a request per se. Just wondering if you thought about making the search a bit more powerful with multi-token CQL style queries.
Describe the solution you'd like Something like this https://github.com/proycon/pynlpl/blob/master/pynlpl/formats/cql.py or this https://explosion.ai/demos/matcher
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hipster-philology/pyrrha/issues/200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOXEZSBSJSB5EEFVTGBVM3SAKY7JANCNFSM4P44DTHA .
Retroactively, I think some of it is possible, but we'll need to "control" how much.
Basically, playing with (token.order_id - current_token.order_id) < Y
or something like that, we should be able to introduce some contextual search
That looks interesting! @lungsang could you have a look at this next week?
This would have to be at least reduced in scope: only one previous token and one next token, but this seems doable :)
That looks interesting! @lungsang could you have a look at this next week?
Okay
Is your feature request related to a problem? Please describe. Not a request per se. Just wondering if you thought about making the search a bit more powerful with multi-token CQL style queries.
Describe the solution you'd like Something like this or this