freq for list of lemmas

22 views
Skip to first unread message

RSteinkrauss

unread,
Nov 9, 2015, 6:32:39 AM11/9/15
to chibolts
Hello,

I have  a set of English language CHAT transcripts with disambiguated mor tier. What I want to do is count the occurrence of a set of 50 specific stems in these files.
I know I can get a frequency list of all stems using freq +s@"r-*,o-%", and that I can get the occurrence of a specific stem, say, 'be', using freq +s@"r-be,o-%".

But is there a way to search for my list of 50 stems in one go? Can I make freq accept this list as search input and still seach only for stems?
I created a list (mystems.cut) containing my stems (one on each line) in the form r-be,o-% and then running freq +...@mystems.cut, but freq didn't find anything.

Any help would be greatly appreciated!
Thanks,
Rasmus Steinkrauss

Leonid Spektor

unread,
Nov 9, 2015, 8:32:55 AM11/9/15
to chib...@googlegroups.com
Rasmus,

You need to put the '@' symbol at the beginning of every string that
you want to search for on the %mor tier. The '@' character indicates
that you want to search on the %mor tier. For example, you would have
@r-be,o-% in the mystems.cut file and then run freq +...@mystems.cut.

Leonid.
> --
> 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+u...@googlegroups.com
> <mailto:chibolts+u...@googlegroups.com>.
> To post to this group, send email to chib...@googlegroups.com
> <mailto:chib...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chibolts/81a1ed10-3cbf-469f-9718-3bda5e87e506%40googlegroups.com
> <https://groups.google.com/d/msgid/chibolts/81a1ed10-3cbf-469f-9718-3bda5e87e506%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

RSteinkrauss

unread,
Nov 9, 2015, 4:37:07 PM11/9/15
to chibolts
Dear Leonid,

thanks for the quick answer. I tried this, but it didn't work (no finds). But I'm running a 2011 version of CLAN because we wanted to stick with one version within our project. I'll update and see if it works.
Thanks again!

Rasmus
Reply all
Reply to author
Forward
0 new messages