Importing xml files to run commands in clan?

13 views
Skip to first unread message

Vivienne Rogers

unread,
Feb 2, 2022, 7:42:35 AM2/2/22
to chib...@googlegroups.com
Hello

I'm sorry to ask what is probably a stupid question. One of my phd students is working with OUP and they've offered her access to one of their corpora so we can run some lexical diversity measures on it. We'd like to use CLAN. However, the corpus will be in an xml format. How do I best import/convert that to .cha files for use with CLAN? I haven't yet received a sample of their files. Is there anything specific I need to ask them to include in their file?

Many thanks

Vivienne

Leonid Spektor

unread,
Feb 2, 2022, 8:30:34 AM2/2/22
to ChiBolts
Vivienne,

XML is just a wrapper. The conversion to cha will depend on what is the actual format of the data. We have cha formatted files in XML wrapper too. We use CHATTER app to got from XML cha format to plain text cha formatted files that CLAN uses. We also have following converters to convert files from other formats to .cha format for CLAN. The conversion process for the OUP data will depend on what exactly that data looks like.

anvil2chat
conll2chat
elan2chat
lab2chat  
lena2chat
lipp2chat
play2chat
praat2chat
rtf2chat
salt2chat 
srt2chat
text2chat


Leonid.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAMmLH2c1O4EpaNwTDF8cT7C_FcF4xAnc5fYhafaV3G%2BNtxz%3DsQ%40mail.gmail.com.

Vivienne Rogers

unread,
Feb 2, 2022, 11:11:05 AM2/2/22
to chib...@googlegroups.com
Dear Leonid 

Thanks for this. I’ll wait until I get the sample file from OUP and then I’ll be in a better position to know what format the files take. 

Regards 

Vivienne 

Sent from my iPhone

On 2 Feb 2022, at 13:30, Leonid Spektor <spe...@andrew.cmu.edu> wrote:

Vivienne,
Reply all
Reply to author
Forward
0 new messages