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

Move word data processing out of the postprocessing step #140

Merged
merged 4 commits into from
May 24, 2024

Conversation

Willem3141
Copy link
Owner

See #138.

This way, clients can use the API from other websites.
The intention was that the result score is always 0 if the query is
equal to the root word, i.e., if no conjugation was going on. Due to not
passing the required parameter (embarrassing) it became undefined and of
course JS doesn't complain about this, hence this check simply didn't
work.

Time for TypeScript?

Fixes #122 (can be fixed even better later by looking at the number of
affixes or something, but this is fine for now).
Word data that is independent of the user query is now processed when
the dictionary file is loaded, on Reykunyu startup, instead of every
time the user does a query.

Fixes #138.
@Willem3141 Willem3141 merged commit 851d98e into refactor-search May 24, 2024
@Willem3141 Willem3141 linked an issue May 28, 2024 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Move query-independent tasks out of the postprocessing step
1 participant