-
Notifications
You must be signed in to change notification settings - Fork 0
476 negative searches for location #479
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
base: main
Are you sure you want to change the base?
Conversation
…476-negative-searches-for-location
…476-negative-searches-for-location
|
@gracemyz Woops, I can't actually run this branch: Traceback (most recent call last):
|
|
@kchall sorry about that -- i had used type checking syntax that's only available for more recent versions of Python. I've removed it. P.S. since I'm not done updating Relation yet, I haven't tested search targets with mov+rel or loc+rel target types. Pure movement or pure location targets should work fine. And a quick question: I also updated the branch to handle some edge cases with the "nodes are terminal" checkbox. Here I made an assumption that if the match type is exact then we treat "nodes are terminal" as being true, even if the checkbox is unchecked. Is this reasonable? |
|
@gracemyz Thanks, this is working now! So far, it mostly seems good in terms of the actual targets and results I have tried.
E.g. if I select that on its own as a location target, the search returns all signs, regardless of whether they have that box checked or not, and when I re-open the search target, the box is no longer checked. If I check the box and select 'purely spatial,' signs are returned, but again only ones that are purely spatial, regardless of having the 'neutral' box checked. And, when I go back to try to edit the search target, I get an error message:
Re: terminal nodes and exact matches -- this is probably okay, but I was trying to test out a couple of cases to make sure I got the expected results, and ran into a different error. I set up a location target as H1, Body, Cheek-ipsi, and set the search type to be positive but exact, and got the following error:
|
|
Just a quick response about the key errors and not being able to edit
search targets: I know this happens when you double-click on one of the
signs returned in the search results to view the sign details.
Unfortunately that functionality is buggy. It should be possible to avoid
the key errors by viewing the signs in the main corpus window instead.
Sorry about all the errors -- I'll take a look over the next few days!
|
…logicalCorpusTools/SLPAA into 476-negative-searches-for-location
…logicalCorpusTools/SLPAA into 476-negative-searches-for-location
…476-negative-searches-for-location



@kchall , this branch also contains the movement negative search update, so you'll be able to test both movement and location here