Problem when using freq and +s switch on %mor tier
Brian MacWhinney
macw at andrew.cmu.edu
Fri Mar 15 00:03:22 UTC 2019
Dear Cynthia,
If you want to search on the %mor tier, you need a more complicated +s switch. Using just +show or +s"how" works fine for the main tier, where the word "how" appears by itself with no additional morphological markup. However, on the %mor tier, "how" appears as adv:wh|how. So, then you could have a search string such as +s"*|how" or even +s"adv:wh|how". If you have a list of words and if you are committed to using the %mor tier, then you would need to create a fancier include file for your +s at myword.cut <mailto:s at myword.cut> switch.
For even fancier searches on the %mor line, please take a look at all the examples in the CLAN manual under the FREQ command.
--Brian MacWhinney
> On Mar 14, 2019, at 5:51 PM, Cynthia Audisio <cpaudisio at gmail.com> wrote:
>
> Dear chibolts,
>
> I've been trying to search for a list of words using Freq command over a set of files. I'm interested in the %mor tier, however, whenever I use the command I get 0 occurrences, which is clearly wrong. To make sure the problem wasn't in my .cha files, I used Adler example files but still got 0 occurrences.
>
> This is the command I've typed in: freq +s"how" *.cha +t%mor +o +o3 +u
>
> In that case, I'm only searching for the word 'how'. As I would like to search for a list of words, the command would look like this: freq +s at file.cut *.cha +t%mor +o +o3 +u (this didn't work either).
>
> Thanks,
> Cynthia
>
> --
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com <mailto:chibolts+unsubscribe at googlegroups.com>.
> To post to this group, send email to chibolts at googlegroups.com <mailto:chibolts at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/e53bb174-2040-41fa-a65a-e8cfa9c8b8ab%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/e53bb174-2040-41fa-a65a-e8cfa9c8b8ab%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To post to this group, send email to chibolts at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/EAD436C0-96BD-4FB0-A2E8-00E87929EC85%40andrew.cmu.edu.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20190314/f6c34263/attachment.htm>
More information about the Chibolts
mailing list