calculating subject-verb diversity in CLAN
Leonid Spektor
spektor at andrew.cmu.edu
Mon Oct 9 20:14:17 UTC 2023
Hi,
At this time there no way to just extract "baby swim" from the search result. But, it is easy to change COMBO or create a utility that can do that. I will have to talk to person in charge for that work.
To exclude the %spa lines that have $RT you would need to run KWAL first and then run COMBO. For example:
kwal +t@ +t% -s$RT +d +f filename.cha
combo +t*CHI +d7 +sg|SUBJ^*^m|part+m|v filename.kwal.cex
I do not know anything about calculating SVD automatically, so I will leave to to someone else to answer.
Leonid.
> On Oct 9, 2023, at 15:19, Risa Stiegler <rstiegle at purdue.edu> wrote:
>
> Hello!
>
> I am trying to calculate the number of unique subject-verb combinations (the subject verb diversity) in a child's speech.
>
> I'm able to use combo to find each instance of a child's utterance that has a subject and a verb (or participle):
>
> combo +t*CHI +d7 +sg|SUBJ^*^m|part+m|v +g6 *.cha
>
> I have 2 questions:
> 1) how can I exclude utterances that are marked with $RT on the %spa tier? (In order to exclude sentences where the child is directly imitating adult speech.)
>
> 2) Is there a way to take the output of this combo command and create a list of just the subject-verb combinations and their frequencies? The combo command outputs the main, mor, and gra tiers, and marks the subject and verb:
> *CHI: a baby is swimming .
> %mor⇔%gra: det:art|a⇔1|2|DET (1)n|baby⇔2|4|SUBJ aux|be&3s⇔3|4|AUX
> (1)part|swim-presp⇔4|0|ROOT .⇔5|4|PUNCT
>
> It would be great if CLAN could go through and pull "baby swim" instead of having a human do it.
>
> I saw in the 2023 CHILDES update that you are working on calculating SVD automatically, so if there is a better way to do it than what I've come up with I would love to hear it!
>
> Thank you so much!
> Risa Stiegler
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/f20d1b97-bba5-464f-bc55-e6e375ef8d03n%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/f20d1b97-bba5-464f-bc55-e6e375ef8d03n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/E074118D-AD87-404B-81E8-E9BD7055EC7D%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20231009/c3388d5c/attachment.htm>
More information about the Chibolts
mailing list