Upload processors.py with huggingface_hub
Browse files45 unmodified lines464748495051525354555657585945 unmodified lines return 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