gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

Allow column selection for some group and summary functions #216

Closed gkunter closed 7 years ago

gkunter commented 7 years ago

Some of the group functions (and probably also of the summary functions) would be more useful if users could select the columns they apply to.

Test case: Buckeye corpus, query string *, data columns POS and Word. Users might want to restrict their output to those POS types where there are at least 50 tokens. They can't use Frequency as a group or summary function for that, because as long as Word is selected, the function will count each combination of POS and Word.

If users could specify that Frequency uses only POS, but ignores Word, a filter could be added that uses the result.