Пример #1
0
    def _refresh(self, *args):
        """
        Modifies state in some way, then calls self.reset().

        Child classes should implement this.

        :param args: any
        :return:
        """
        raise DontUseBaseClassError(self)
Пример #2
0
    def _deserialize(self):
        """
        This should ONLY be called by the constructor, nowhere else.

        Deserialize ALL state loaded from self._config into self._smr_mapping,
        self._smr_extras, and self._smr_defaults.

        Child classes should implement this.
        """
        raise DontUseBaseClassError(self)
Пример #3
0
 def _is_applicable(self, rule):
     raise DontUseBaseClassError(self)
Пример #4
0
 def _transform(self, rule):
     raise DontUseBaseClassError(self)
Пример #5
0
 def get_pronunciation(self):
     """
     Child classes should implement this,
     returning string pronunciation.
     """
     raise DontUseBaseClassError(self)
Пример #6
0
 def construct_activation_rule(self):
     """
     Returns a rule which has activation commands.
     """
     raise DontUseBaseClassError(self)
Пример #7
0
 def compatibility_check(self, mergerules):
     raise DontUseBaseClassError(self)
Пример #8
0
 def run(self):
     raise DontUseBaseClassError(self)