Exclude Utterances Containing a Symbol

Leonid Spektor spektor at andrew.cmu.edu
Thu Mar 28 14:20:29 UTC 2013


Jacob,

	After reading your email again I am not sure if you want to exclude the whole utterance based on presence of "&=action" code or only the "&=action" symbol from analyses. If you want to exclude the whole utterance that has "&=action" or "&= action" symbols, then you can use KWAL command to first filter out those utterances from your data with this command:

kwal -s&=* -d +f +t% +t@ *.cha

and then run FREQ and MLU on data files *.kwal.cex.


Leonid.



On Mar 28, 2013, at 10:14 , Jacob Feldman wrote:

> Leonid,
> 
> It does have the space in the utterance, as in "&= action."
> 
> Thank you for your assistance.
> 
> Jacob
> 
> On Thursday, March 28, 2013 10:09:01 AM UTC-4, Spektor, Leonid: CMU wrote:
> Jacob,
> 
> 	I want to first fully understand your situation. Is "action" actually coded with space character between "&=" symbols and the "action" code itself as you described in your email or is it coded without a space character as in "&=action"? The reason I am asking is because currently both FREQ and MLU exclude anything that starts with "&" symbol, but CLAN stops at a space character. If you have a space character between "&=" and "action" as in "&= action", then I am afraid there nothing can be done except changing your data files to remove that space character. Fortunately that change can be made easily and automatically with some text editors like BBEdit or even with the following CHSTRING command in CLAN:
> 
> chstring +s"&= " "&=" -w t.cha
> 
> 
> If there is no space character between the "&=" and the "action" code as in "&=action, then please email to me a sample data file and CLAN command line that will show the problem you are having.
> 
> 
> Leonid.
> 
> 
> 
> On Mar 28, 2013, at 09:24 , Jacob Feldman wrote:
> 
>> Hello All,
>> 
>> I am trying to run FREQ on some old data, but all the utterances which contained an action were coded as "&= action" so they are not automatically excluded from the FREQ (or MLU) computations.  Is there any way to exclude any utterance from analysis that contains the & symbol?  Or is there another to exclude these utterances?  I'm open to anything that doesn't involve recoding years of data.
>> 
>> Thank you,
>> Jacob Feldman
>> 
>> -- 
>> 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... at googlegroups.com.
>> To post to this group, send email to chib... at googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msg/chibolts/-/oduY28n9xSAJ.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
> 
> 
> -- 
> 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/msg/chibolts/-/ADBzoQhrk7MJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20130328/ec973eb4/attachment.html>


More information about the Chibolts mailing list