pub fn analyze_chord(chord: &Chord, key: Key) -> Result<Option<RomanNumeral>>
Performs functional Roman-numeral analysis in a key.