PhonologicalCorpusTools / CorpusTools

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

phonological search bug? #639

Closed kchall closed 7 years ago

kchall commented 7 years ago

In the example corpus, doing a phonological search:

-select [+dorsal, -syllabic] for the target (this should be [g], and indeed this shows up in the "selected segments" list) --> first of all, two copies of either the dorsal or the syllabic feature show up in the environment, depending on the order they were specified

--> second of all, when the search is initiated, an error message pops up saying "Please specify at least segment to search for in environment 1." -- but a segment has been selected. Note that the search works if [g] is just specified on its own, rather than being selected featurally.

Note that this is not limited to just [g] -- the same thing happens for [+coronal, -syllabic] as the target, which should give us [t], [s], [S], and [n].

But, it's also not all features -- e.g., searching for [+nasal] as the target does work.

kchall commented 7 years ago

Just checked, and it is the case that this same bug is occurring in the 'bug_fixes' branch, too.

kchall commented 7 years ago

Agreed, this seems to be resolved.