from typing import Set

from flloat.base.Symbol import Symbol


class Alphabet(object):
    def __init__(self, symbols: Set[Symbol]):
        self.symbols = symbols

    @staticmethod
    def fromStrings(symbol_strings:Set[str]):
        return Alphabet(set(Symbol(s) for s in symbol_strings))
