from haystack import Document from haystack.components.preprocessors import DocumentCleaner pages = [ "ACME SUPPORT EXPORT\nInternal footer text\n\n Reset password steps require MFA. \nPage 1 of 5", "ACME SUPPORT EXPORT\nInternal footer text\n\n Account recovery requests need ticket ID. \nPage 2 of 5", "ACME SUPPORT EXPORT\nInternal footer text\n\n Billing export requests go to finance. \nPage 3 of 5", "ACME SUPPORT EXPORT\nInternal footer text\n\n Security questions are deprecated. \nPage 4 of 5", "ACME SUPPORT EXPORT\nInternal footer text\n\n Profile update requests need email proof. \nPage 5 of 5", ]