Although labels have a one-to-one correspondence with languages, the label distribution does not actually correspond directly to the language proportion, because the distribution estimates the proportion of byte n-gram sequences associated with a label and not the proportion of bytes directly.
we propose a method that concurrently detects that a document is multilingual, and estimates the proportion of the document that is written in each language.