Template modifications mid-project
Up one level
Template modifications mid-project
I tried to search the forum, but I didn't see that function, and the answer to this question didn't seem available in the user guide/manual.
I'm about to start annotating a corpus with a team of linguists/computer scientists with a limited template. At first, we're going to collaborate on annotating four tiers and then we suspect our goals will warrant further tiers to be created and annotated.
It is thus possible to create a new template and apply it to existing files? For example, if we have 20 files with tiers A-D completely annotated, can we change all those files to (uniformly) have tiers A-D annotated and tiers E-H blank for a second round of annotations?
Re: Template modifications mid-project
Hey there! :)
Han or others may have a better answer than me, but from my experience, that doesn't seem to be an option. What you can do is go ahead with your current template and when you've got enough to create a new template, you can merge the data from the old .eafs to new .eafs (created with the new template). There doesn't seem to be anything that'd allow you to change all of them at the same time.
If you do find a way, I'd like to hear about it.
-jah
Re: Re: Template modifications mid-project
Hi!
Yeah, I had a feeling that would be the case - perhaps Han can elaborate. I'll try with your method, and also play around with modifying the raw XML file (though I wouldn't recommend that for most users).
Re: Re: Re: Template modifications mid-project
It's true, unfortunately it is currently not possible to update multiple files with new information from a template in one single action. It is possible to update an existing eaf file via Tier->Import Tiers and then pointing to the new or modified template file. Any new tiers and associated linguistic types will be imported. But yes, this has to be done on a file-by-file basis.
Batchwise updating is on the to-do-list. Also, there are users who created (Perl) scripts to update multiple eaf files and these scripts might become available on the third party resources page one day.
-Han