コード例 #1
0
ファイル: defs.py プロジェクト: alexdrozdov/asrdbs
 def __init__(self, anchor=None, weight=None):
     RtDynamicRule.__init__(self, True, False)
     self.__anchor = RtMatchString(anchor)
     self.__weight = weight
コード例 #2
0
ファイル: defs.py プロジェクト: alexdrozdov/asrdbs
 def __init__(self, anchor=None):
     RtDynamicRule.__init__(self, False, False)
     self.__anchor = RtMatchString(anchor)
コード例 #3
0
ファイル: defs.py プロジェクト: alexdrozdov/asrdbs
 def __init__(self, anchor=None, get_param_fcn=None, param_name=None):
     assert get_param_fcn is not None
     RtDynamicRule.__init__(self, False, False)
     self.__anchor = RtMatchString(anchor)
     self.__get_param_fcn = get_param_fcn
     self.__param_name = param_name