Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order not mantained in the result of the query #18

Open
thesagarsehgal opened this issue Jan 13, 2020 · 0 comments
Open

Order not mantained in the result of the query #18

thesagarsehgal opened this issue Jan 13, 2020 · 0 comments

Comments

@thesagarsehgal
Copy link
Contributor

thesagarsehgal commented Jan 13, 2020

When running with the CDLI database at https://github.com/cdli-gh/cqp4rdf/tree/master/data.

Sometimes the order of the results shown is not in the order.

For eg. for this query:-

w1:[  ( conll:UPOSTAG = "NOUN" )  ] w2:[  ( conll:UPOSTAG = "NUM" )  ] :: (w1.nif:nextWord=w2 | w2.nif:nextWord=w1)

But what happens with the first result is:-
Screenshot from 2020-01-13 17-42-28

  • The order of the result is not maintained. :-

for gurusz the word info is:-
ID 3
CDLI_ID o.1.3
FORM gurusz
LEMMA gurusz[male]
UPOSTAG NOUN
XPOSTAG N
FEATS Number=Sing

for 8(disz) the word info is:-
ID 2
CDLI_ID o.1.2
FORM 8(disz)
LEMMA 8(disz)[one]
UPOSTAG NUM
XPOSTAG NU
FEATS

  • Also, the second word in the keywords for the first result i.e. 8(disz) is also present in the left context of the result. And the word is repeated at both the places. Thus the same word is in the left context as well as the keyword words lists which we have.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant