We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding a Phone class and translation support:
Phone
from abc import ABC, ABCMeta, abstractmethod from enum import Enum, EnumMeta from typing import Text class ABCEnumMeta(ABCMeta, EnumMeta): pass class Phone(ABC): @property @abstractmethod def namespace(self) -> Text: pass @property @abstractmethod def is_vowel(self) -> bool: pass class Arpabet(Phone, Enum, metaclass=ABCEnumMeta): EH01 = "EH01" # ... @property def namespace(self) -> Text: return "arpabet" @property def is_vowel(self) -> bool: return True if self.value[-1] in { "1", "0", "2" } else False
The text was updated successfully, but these errors were encountered:
myedibleenso
No branches or pull requests
Consider adding a
Phone
class and translation support:The text was updated successfully, but these errors were encountered: