dictionaria / pydictionaria

Apache License 2.0
3 stars 0 forks source link

Contents of markers appearing multiple times must be concatenated for CLDF conversion #9

Closed xrotwang closed 5 years ago

xrotwang commented 5 years ago

See also #5

IrenH commented 5 years ago

would this also pertain to Palula, where we find things like: \va variant1 \ve EnglishofVariant1 \va variant 2 \ve EnglishofVariant2 where \ve always refers to the preceding \va? this might actually help! if the information stays in the correct order: variant1 ; variant2 EnglishofVariant1 ; EnglishofVariant2

xrotwang commented 5 years ago

Palula has all sorts of implicit marker hierarchies and significant orderings, see https://github.com/clld/dictionaria-intern/blob/master/submissions-internal/palula/__init__.py

This is why I implemented a pre-processing. If this step is still active, it will "inlined" the \ve content in \va, resulting in

\va variant1 (EnglishofVariant1)
...
IrenH commented 5 years ago

okay, great!! can this also be applied to \bw and \bwv ?