-
Notifications
You must be signed in to change notification settings - Fork 1
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
lefthand context in KWIC results broken #10
Comments
This is how the data is being returned from the server in the XHR: [
{
"word": " witnesses s.o."
},
{
"word": "\u00ea-it\u00f4tahk",
"lemma": "it\u00f4tam",
"msd": "PV.e.V.TI.Cnj.Prs.3Sg",
"dep": "pred.ti",
"gloss": "s/he does s.t. thus, s/he does thus, s/he acts thus"
},
{
"word": ",",
"lemma": ",",
"msd": "CLB",
"dep": null,
"gloss": "__UNDE"
}
] These results are then passed to |
The query being sent to the server:
In JSON format: {
"default_context": "1 sentence",
"show": "sentence,msd,gloss,lemma,dep",
"show_struct": "text_author,text_title,text_title1,text_title2,text_lang",
"start": "0",
"end": "24",
"corpus": "WOLFART_AHENAKEW",
"cqp": "[word = \"ê-itôtahk\"]",
"query_data": "",
"context": "WOLFART_AHENAKEW:undefined",
"incremental": "true",
"default_within": "sentence",
"within": ""
} |
Tested out a fix on the dev server. The KWIC context is now working fine. Will finalize the fix, and add documentation for it and the deployment process, and redeploy before closing this issue. |
The lefthand side of the KWIC results shows the correct token, but the wrong information for that token. The righthand context is working.
Test Case:
ê-itôtahk
should havewapemaw
to the leftCurrent production version: http://altlab.ualberta.ca/korp/
Current development version: https://korp.altlab.dev/
Next up:
spContext
setting is in the right placeThe text was updated successfully, but these errors were encountered: