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

Add self-referential example #40

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Add self-referential example #40

merged 1 commit into from
Aug 24, 2024

Conversation

naslundx
Copy link
Collaborator

Forgive me, Gödel, for I have sinned

@naslundx naslundx requested a review from jimbarrett27 August 23, 2024 14:51
with open(FOLDER_PATH / filename, "r", encoding="utf-8") as f:
all_text += f.read()

cleaned_text = re.sub(r"[^a-zA-Z0-9_\s]", " ", all_text)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we should add some cleaning utilities and common word removal stuff? Or does it make more sense to leave that to the user? do one thing and do it well kind of mentality

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do one thing and do it well kind of mentality

I would vote for this, especially early on

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to assemble some good routines for the examples and the docs, if nothing else.

@naslundx naslundx merged commit a5efcc7 into dev Aug 24, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants