Skip to main content

most_likely_language_numeric

Function most_likely_language_numeric 

Source
pub fn most_likely_language_numeric(text: &str) -> Result<usize>
Available on crate feature language-detection only.
Expand description

The language a text is most like, as one more than its place in LANGUAGE_CODES, or nought for an empty text: music21’s mostLikelyLanguageNumeric.

§Errors

A text like none of the languages, which music21 refuses.