unitxt.string_operators module

class unitxt.string_operators.Join(apply_to_streams: ~typing.List[str] = None, dont_apply_to_streams: ~typing.List[str] = None, field: str | None = None, to_field: str | None = None, field_to_field: ~typing.List[~typing.List[str]] | ~typing.Dict[str, str] | None = None, process_every_value: bool = False, use_query: bool = False, get_default: ~typing.Any = None, not_exist_ok: bool = False, by: str)

Bases: FieldOperator

class unitxt.string_operators.Split(apply_to_streams: ~typing.List[str] = None, dont_apply_to_streams: ~typing.List[str] = None, field: str | None = None, to_field: str | None = None, field_to_field: ~typing.List[~typing.List[str]] | ~typing.Dict[str, str] | None = None, process_every_value: bool = False, use_query: bool = False, get_default: ~typing.Any = None, not_exist_ok: bool = False, by: str)

Bases: FieldOperator