-sxxx switch

Leonid Spektor spektor at andrew.cmu.edu
Fri Oct 6 17:45:54 UTC 2023


Hi Sebastian,

	If you use +sxxx option you will get the result you want. The MLU counts words on %mor tier and xxx is never entered on %mor tier. The manual entry you are referring to is a typo it should have read +sxxx.

You can easily test this by coping following 6 lines into a file and running commands "mlu filename.cha" and "mlu +sxxx filename.cha" to see the results.

*CHI:	one xxx two .
%mor:	det:num|one det:num|two .
%gra:	1|2|DATE 2|0|INCROOT 3|2|PUNCT
*CHI:	three four five .
%mor:	det:num|three det:num|four det:num|five .
%gra:	1|2|QUANT 2|3|DATE 3|0|INCROOT 4|3|PUNCT



Leonid.



> On Oct 6, 2023, at 13:15, Sebastian Oliva <olivasebastian13 at gmail.com> wrote:
> 
> Hello! 
> 
> I am trying to come up with a command that will give me the MLU in words for a file containing utterances with xxx. 
> I would like the command to count words that are on the same *CHI line with xxx, but not include xxx itself toward the MLUw. 
> I tried to use the -sxxx switch that was mentioned in the manual (screenshot attached), but was getting the error message, "Utterances containing "xxx" are excluded by default. Excluding "xxx" is not allowed." 
> 
> We are currently using: mlu +t*CHI +leng +sxxx -t%mor *.cha
> 
> Any advice would be appreciated!
> 
> -Sebastian
> 
> 
> -- 
> 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/d191ba44-a816-41be-99d9-b5eb45cab160n%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/d191ba44-a816-41be-99d9-b5eb45cab160n%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/5BC7FA4D-0E60-416D-BAC7-FC6AA17AD7F3%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20231006/729bba90/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CLANManual.PNG
Type: image/png
Size: 78303 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20231006/729bba90/attachment-0001.png>


More information about the Chibolts mailing list