Skip to content

Conversation

@lukavdplas
Copy link
Contributor

This makes the required backend changes for #1968

The ngram endpoint now has an optional mode parameter which can be set to 'collocates' to get collocation counts instead of ngrams. Here is a screenshot of what the results would look like:

screenshot of textcavator

I made the screenshot by hard-coding the parameters in the frontend code (which is is not included in this PR, of course).

@lukavdplas lukavdplas marked this pull request as ready for review December 19, 2025 13:26
Base automatically changed from feature/explain-api-for-term-frequency to develop January 19, 2026 14:12
@JeltevanBoheemen JeltevanBoheemen merged commit 6ae57a7 into develop Jan 30, 2026
4 checks passed
@JeltevanBoheemen JeltevanBoheemen deleted the feature/collocation-counting branch January 30, 2026 10:43
@lukavdplas lukavdplas added enhancement improvements to existing user functionality backend changes to the django backend labels Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend changes to the django backend enhancement improvements to existing user functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants