from typing import List
from typing import Tuple


def extract_sound_mappings(config_file_name: str) -> List[Tuple[str, str]]:
    """
    Extract a list of mappings from characters/symbols to sounds.
    :param config_file_name: the path to the file to extract the mappings from
    :return: a list of tuples consisting containing (symbol, sound_equivalent)
    """
    sound_mappings = []
    with open(config_file_name, "r", encoding='utf-8') as config_file:
        for line in config_file.readlines():
            if line[0] == '#':
                continue

            mapping = list(filter(None, line.strip().split(' ', 1)))

            if len(mapping) > 1:
                sound_mappings.append((mapping[0], mapping[1]))
    return sound_mappings