<jupyter_start><jupyter_text>Check the modes.<jupyter_code>import pyabc2
from pyabc2 import Key
mode_abbrs = ["ion", "dor", "phr", "lyd", "mix", "aeo", "loc"]

modes = [Key(f"G{m}") for m in mode_abbrs]
modes<jupyter_output><empty_output><jupyter_text>Various representations of notes in the scale<jupyter_code>for m in modes:
    m.print_scale()
for m in modes:
    m.print_scale_degrees_wrt_major()
modes[-1].relative_major
for m in modes:
    m.print_intervals()
for m in modes:
    m.print_intervals(fmt="-")
for m in modes:
    m.print_scale_chromatic_values()<jupyter_output><empty_output><jupyter_text>Chromatic<jupyter_code>for m in modes:
    m.print_chromatic_scale_degrees()
for m in modes:
    m.print_chromatic_scale_degrees(acc_fmt="#/b")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1278772378516624, 'fraction_numerical': 0.0038363171355498722, 'mean_word_length': 6.386792452830188, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '179338', 'license': 'MIT', 'n_tokens_mistral': 318, 'n_tokens_neox': 310, 'n_words': 63, 'path': 'examples/modes.ipynb', 'repo_name': 'zmoon/PyABC2', 'size': '782'}