You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks very much for sharing your work. But I'm sorry that I have some coding questions that I would like to ask you.
On the line 126 of the file sentence_query.py , the function q.match() is passed a arguments which is an instance of Index Class. However, for a Query object A , its method A.match() is required to be passed an instance of Head class as shown on line 256 of the file struct_query.py. And according to the code inside the match() function, we can infer that the passed argument should be a token object. This conflict causes that I can't reproduce your code successfully. Maybe it's because I misunderstood some parts of your code. So could you please briefly explain to me how to change it so that it can run correctly? Thank you very much.
The text was updated successfully, but these errors were encountered:
Thanks very much for sharing your work. But I'm sorry that I have some coding questions that I would like to ask you.
On the
line 126
of the filesentence_query.py
, the functionq.match()
is passed a arguments which is an instance of Index Class. However, for a Query object A , its methodA.match()
is required to be passed an instance of Head class as shown online 256
of the filestruct_query.py
. And according to the code inside thematch()
function, we can infer that the passed argument should be a token object. This conflict causes that I can't reproduce your code successfully. Maybe it's because I misunderstood some parts of your code. So could you please briefly explain to me how to change it so that it can run correctly? Thank you very much.The text was updated successfully, but these errors were encountered: