You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is not to force every one to go through regexp. Instead of doing that, we offer a chunker maker in the following form
defRegExDefaultChunkerMaker(config):
""" :param config: Dictionary with keys such as the original :type config: dict """defcallback(text, getValidReffCallback):
# do regexp matching on keyifmatch(text.urn, config.keys()):
returnspecificfunctionreturnconfig["default"](text, getValidReffCallback)
returncallback
The text was updated successfully, but these errors were encountered:
See #2
The idea is not to force every one to go through regexp. Instead of doing that, we offer a chunker maker in the following form
The text was updated successfully, but these errors were encountered: