PhonologicalCorpusTools / CorpusTools

Phonological CorpusTools
http://phonologicalcorpustools.github.io/CorpusTools/
GNU General Public License v3.0
111 stars 16 forks source link

[ENC] PhonoSearch on a sub-lexicon #806

Open stannam opened 2 years ago

stannam commented 2 years ago

Phonological search may need to be run only on a subset of the corpus. For example, a user (e.g., myself) may want to find /l/-ending words only in a sub-lexicon (e.g., Sino-Korean).

I envision an option like the following. Selecting 'Sino' there, for example, do the search only on the sino stratum. image

stannam commented 2 years ago

... or that combo box can be located under 'Additional filters' instead of 'Options,' which is already too crowded.

kchall commented 2 years ago

This would be nice! Note that currently, the way to do this in PCT at least theoretically would be to go to File / Generate a corpus subset and then filter based on stratum, to create a separate corpus file entirely. See also #724, and also I thought we had an issue about being able to save the results of a phonological search to a sub-corpus, but the closest I can find is #201, but that is a very old issue!