LanguageMachines / foliautils

Command-line utilities for working with the Format for Linguistic Annotation (FoLiA), powered by libfolia (C++), written by Ko van der Sloot (CLST, Radboud University)
https://proycon.github.io/folia
GNU General Public License v3.0
4 stars 3 forks source link

FoLiA-langcat. add languages as <alt> nodes #36

Closed kosloot closed 5 years ago

kosloot commented 5 years ago

At the moment, FoLiA-langcat assigns a list of detected languages tot the \<lang> nodes when the --all option is specified. It would be better tot create 1 \<lang> node and a serie of \<alt>\<lang>...\</lang>\</alt> nodes.

So NOT:

    <lang class="fra|eng"/>

But

<lang class="fra"/>
<alt>
  <lang class="eng"/>
</alt>