Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtf text extraction is incomplete #23

Open
nathj07 opened this issue Mar 9, 2022 · 0 comments
Open

rtf text extraction is incomplete #23

nathj07 opened this issue Mar 9, 2022 · 0 comments

Comments

@nathj07
Copy link

nathj07 commented Mar 9, 2022

Untitled.rtf.zip
Unpack the zip to get to the rtf file

This file was generated on Mac by copying chunks of text from Wikipedia to TextEdit.

Using cat.File() or cat.FromBytes() the extracted text is incomplete. For example the first 10 words are missing.

I also notice that each new line starts with N in the extracted text:

Ncommittee and , club president and owner of the land at . After eight years at the stadium, Everton relocated to
Nin 1892 and Houlding founded Liverpool F.C. to play at Anfield.
NOriginally named "Everton F.C. and Athletic Grounds Ltd" (Everton Athletic for short), the club became Liverpool F.C. in March 1892 and gained official recognition three months later, after
Nrefused to recognise the club as Everton.
Liverpool played their first match on 1 September 1892, a pre-season
Nagainst , which they won 7ॡ. The team Liverpool fielded against Rotherham was composed entirely of Scottish players � the players who came from Scotland to play in England in those days were known as the .
Nhad recruited the players after a
Ntrip to Scotland � so they became known as the "team of Macs".
NThe team won the
Nin its debut season and joined the
Nat the start of the 1893翿 season. After the club was promoted to the
Nin 1896,

(snippet from the start of the extracted text)

I'm not sure where changes would need to be made, is it possible to update the library to give a full extraction? I've seen similar issues with odt and docx too. I cannot share those files however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant