Unifying two files into one

Remei González Manzanero remeigonzalez at gmail.com
Thu Mar 23 10:07:43 UTC 2023


Dear Leonid and dear all, 
I retake this conversation. The command was very useful. Nevertheless, we 
had another issue: In some our files we have different codes in the same 
dependent tier, and not in two different dependent tiers. In any case, the 
message indicating that there is a duplicate tier saves a lot of time, 
although we were wondering whether there is an easier way* to include or 
copy codes from a dependent tier in a file to the very same dependent tier 
in another file. *
Has anyone find a way to do so? 
Many thanks in advance, 
--
Remei 
El viernes, 10 de marzo de 2023 a las 14:25:34 UTC+1, Remei González 
Manzanero escribió:

> Dear Leonid, 
> Thank you for your fast reply. We are going to try this and see how it 
> works. 
> Thank you and best regards, 
> --
> Remei
>
>
> El miércoles, 8 de marzo de 2023 a las 20:06:09 UTC+1, Leonid Spektor 
> escribió:
>
>> Remei,
>>
>> CLAN does not have a command specifically dedicated to merging files. But 
>> there is RELY command that will allow adding one file's dependent tiers to 
>> another file. The speaker tiers have to be identical and all present in 
>> both files. If there is the same dependent tier in both files then RELY 
>> will insert message " ** Duplicate tier found around lines: " in the output 
>> file. The last limitation is that you would have to do this merging just 
>> two files at the time.
>>
>>  Here is an example of the command line:
>>
>> rely +a file1.cha file2.cha +t% +t@
>>
>>
>> Leonid.
>>
>> On Mar 8, 2023, at 04:18, Remei González Manzanero <remeig... at gmail.com> 
>> wrote:
>>
>> Dear all, 
>>
>> We are trying to unify two files into one. In our corpora, we have two 
>> different files for each text, with the same speaker tiers but with 
>> different dependent tiers in each of them. Although we can carry out two 
>> analysis, we would like to unify these two versions of each text into only 
>> one. 
>>
>> We tried some commands, such as CHSTRING doing replacements, but we don't 
>> seem to find the right one. In other words, we need to integrate the 
>> dependent tiers of one file into the other, resulting in a file containing 
>> the dependent tiers of both files. 
>>
>> Thank you in advance for your help, 
>> --
>> Remei González Manzanero
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/chibolts/6b8895e0-d47a-4afb-a3e6-bac1850b15efn%40googlegroups.com 
>> <https://groups.google.com/d/msgid/chibolts/6b8895e0-d47a-4afb-a3e6-bac1850b15efn%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/ba63c7d3-082e-426e-a464-708dbd75d8ban%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20230323/e618fccd/attachment.htm>


More information about the Chibolts mailing list