mlu5 for multiple transcripts

Victoria Ward bwv141 at gmail.com
Fri Feb 2 22:01:05 UTC 2018


This has worked - thanks very much! 

Vicky

On Friday, February 2, 2018 at 7:20:42 PM UTC, Leonid Spektor wrote:
>
> V,
>
> The suggestions below have been tested on the latest version of CLAN only. 
> I don't know what version your have and so these commands might not work 
> with your version of CLAN.
>
> First, of all since you are using +g1 option with MAXWD you need to make 
> sure that you data file have %mor tier. Otherwise, the morpheme count will 
> be incorrect.
>
> Second, if you want to get separate outputs for multiple files, then you 
> should not use pipe (|) to send output from MAXWD to MLU
>
> Here are commands that I would recommend:
>
> maxwd +g1 +c5 +d1 +t*CHI –s"[+ bch]" +f (your file names)
>
> mlu *.mxwrd.cex > combined.cex
>
> OR
>
> mlu +d *.mxwrd.cex
>
> The last command will give you a warning that @ID tier was not found, but 
> that is okay.
>
>
> Leonid.
>
> On Feb 2, 2018, at 14:12, bwv... at gmail.com <javascript:> wrote:
>
> maxwd +tCHI +g1 +d1 +c5 –s"[+ bch]" –s+\”  @ | mlu > mlu5
>
> this gets the output to one file, but again collapsing the data across all 
> .cha files rather than giving it for each file. 
>
> Any help would be appreciated here. 
>
> On Friday, February 2, 2018 at 6:10:14 PM UTC, bwv... at gmail.com wrote:
>>
>> Hi Leonid
>>
>> My question differs from Elma's but relates to the subject line so I am 
>> posting it here. 
>>
>> I want to get MLU based on the longest five utterances (MLU5) for 33 
>> separate files. I can do this following the tutorial in the manual for one 
>> file. But for my own analyses, I have multiple files that I want to get one 
>> output file for (containing the 33 results - not an average). Is there a 
>> way to do this?
>>
>> This is what I thought would work but doesn't:
>> maxwd +g1 +c5 +d1 +tCHI +o%mor –s"[+ bch]" –s+\” @(I enter my files here 
>> by clicking File In) | mlu
>>
>> The above command brings up error messages about %mor tiers not being 
>> associated with speakers - which I don't think is an issue since it runs 
>> fine when I do it for an individual file. 
>>
>> So then I created a batch file, as outlined in the tutorial. But that 
>> brings up an error message saying "Can't open output file". Even if I was 
>> doing this correctly and it worked, I actually don't want 33 separate files 
>> for each output - I'd like them all in one output file (but not averaged). 
>>
>> Any help would be appreciated, 
>>
>> Thanks
>> V
>>
>> On Monday, October 10, 2016 at 8:23:54 PM UTC+1, Leonid Spektor wrote:
>>>
>>> Elma,
>>>
>>>     I assume you had a question. If not I apologies for replying. If you 
>>> did, then the reason all files are combined into one is because you are 
>>> using a pipe '|'. Pipes combine all files into one output and MLU only sees 
>>> that one input file. In vast majority of cases pipes should not be used at 
>>> all. The correct command lines are:
>>> maxwd +t*CHI +g2 +c5 +d1 -t%mor +f *.cha
>>> mlu -t%mor *.mxwrd.cex
>>>
>>> Leonid.
>>>
>>>
>>> On 10-10-16 10:34, Elma Blom wrote:
>>>
>>> Hi,  
>>>
>>> We are using the mlu5 command without %mor tier. This goes well if we 
>>> run the following command for one child at a time:
>>>
>>> maxwd +t*CHI +g2 +c5 +d1 -t%mor *.cha | mlu -t%mor
>>>
>>> However, if we select the transcripts of multiple children, mlu is 
>>> calculated over all transcripts combined and not for each child/transcript 
>>> separately (so we end up with one output file). If I understand the manual 
>>> correctly, having a batchfile does not really solve the issue because we 
>>> would still need to specify all transcripts, which are hundreds.
>>>
>>> Best wishes, Elma
>>> -- 
>>> 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/msgid/chibolts/9c8fb5e5-0e6e-4a25-8adf-af540098e5b7%40googlegroups.com 
>>> <https://groups.google.com/d/msgid/chibolts/9c8fb5e5-0e6e-4a25-8adf-af540098e5b7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit 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+u... at googlegroups.com <javascript:>.
> To post to this group, send email to chib... at googlegroups.com 
> <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com 
> <https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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/6cb07b8a-5842-4843-9523-cf4f5349909e%40googlegroups.com.
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/20180202/3a77a807/attachment.htm>


More information about the Chibolts mailing list