digitallinguistics / scription

A specification for formatting interlinear glossed texts in a way that is computationally parseable
https://scription.digitallinguistics.io
MIT License
6 stars 0 forks source link

support specifying the default language for data in a text #60

Open dwhieb opened 1 year ago

dwhieb commented 1 year ago

Users should be able to specify the default language of the data in a text. Two ways they might do this are:

a) the YAML header b) a special \lg code either at the start of the document, or included in the initial utterance schema

All subsequent utterances in the text are assumed to be that language, unless a \lg code is provided for the utterance.

The primary use case for this is code-switching in texts.