Update mossaic/mossaic/nlp_engineering/steps/cleaner.py,...
requested to merge 5ov/tiny_nlp_library:murdockd/20230524/bug/make_type_hints_backwards_compatible into main
Update mossaic/mossaic/nlp_engineering/steps/cleaner.py, mossaic/mossaic/nlp_engineering/pipeline.py
Removed "|" notation in type hints (signifying "or" condition with type hints) because it wasn't implemented until Py3.10. Instead, imported Union from typing and implemented as necessary.
i.e. str | dict ...becomes... Union[str, dict]