Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dwhieb opened this issue Oct 26, 2023 · 0 comments
Open

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

dwhieb opened this issue Oct 26, 2023 · 0 comments

Comments

@dwhieb
Copy link
Member

dwhieb commented Oct 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant