Upload processors.py with huggingface_hub
Browse files45 unmodified lines46474849505145 unmodified linesreturn re.findall(self.regex, text)class LoadJson(FieldOperator):def process_value(self, text: Any) -> Any:try:45 unmodified lines464748495051525354555657585945 unmodified linesreturn re.findall(self.regex, text)class ExtractWithRegex(RegexParser):def process_value(self, text: Any) -> Any:matches = super().process_value(text)if matches:return matches[0]return ""class LoadJson(FieldOperator):def process_value(self, text: Any) -> Any:try:
processors.py+8