def __init__(self, splitter_config): Activatable.__init__(self) assert (splitter_config is not None) assert (isinstance(splitter_config, BotSentenceSplitterConfiguration)) self._configuration = splitter_config
def __init__(self, splitter_config): Activatable.__init__(self) assert (splitter_config is not None) assert (isinstance(splitter_config, BotSentenceSplitterConfiguration)) self._configuration = splitter_config self._punctuations = re.compile(SentenceSplitter.ALL_PUNCTUATION)
def __init__(self, spelling_config=None): Activatable.__init__(self) self.spelling_config = spelling_config