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

use striprtf #1

Open
chennesy opened this issue Aug 4, 2023 · 2 comments
Open

use striprtf #1

chennesy opened this issue Aug 4, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@chennesy
Copy link
Owner

chennesy commented Aug 4, 2023

Need to update to be platform agnostic using striprtf. Differences in how whitespace and line breaks are rendered in textutil and striprtf make it a non-trivial update.

@chennesy chennesy added the enhancement New feature or request label Aug 4, 2023
@chennesy chennesy self-assigned this Aug 4, 2023
@firminayivodji
Copy link

Hi @chennesy,

Appreciate your input. I've transformed all the .rtf files to .txt format utilizing striprtf. Afterward, I attempted to use the factiva_parser script you provided. However, I ended up with NaN across all rows. Any insights into what might be causing this?

Thank you in advance,

@chennesy
Copy link
Owner Author

Thanks @firminayivodji. I haven't worked on this enhancement yet so the code doesn't work with txt files generated by striprtf at the moment. Unfortunately, striprtf and textutil introduce different characters in the txt files, so the parser currently only works for txt files generated via textutil.

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

No branches or pull requests

2 participants