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

cleaned up regex function by introducing constants for patterns #143

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

mk2510
Copy link
Collaborator

@mk2510 mk2510 commented Aug 6, 2020

cleaned up all regex functions and removed the new clean pipeline

Maximilian Krahn and others added 15 commits July 26, 2020 22:49
speeded up the default function, by writing it in just one and let it operate on strings


Co-authored-by: Henri Froese <hf2000510@gmail.com>
removed the regex pattern from the functions and placed them in an constant above



Co-authored-by: Henri Froese <hf2000510@gmail.com>
changed Docstring



Co-authored-by: Henri Froese <hf2000510@gmail.com>
inserted the old cleaning pipeline



Co-authored-by: Henri Froese <hf2000510@gmail.com>
@henrifroese henrifroese added the enhancement New feature or request label Aug 6, 2020
@jbesomi jbesomi marked this pull request as draft August 7, 2020 15:15
Copy link
Collaborator

@henrifroese henrifroese left a comment

Choose a reason for hiding this comment

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

Looks great overall, just a few small comments. preprocessing.py will look much nicer if this is merged.

texthero/preprocessing.py Outdated Show resolved Hide resolved
texthero/preprocessing.py Outdated Show resolved Hide resolved
texthero/preprocessing.py Outdated Show resolved Hide resolved
tests/test_preprocessing.py Outdated Show resolved Hide resolved
texthero/preprocessing.py Outdated Show resolved Hide resolved
@jbesomi
Copy link
Owner

jbesomi commented Aug 8, 2020

  • you need to fix some conflicts

@vercel vercel bot temporarily deployed to Preview August 8, 2020 18:53 Inactive
@mk2510
Copy link
Collaborator Author

mk2510 commented Aug 10, 2020

you need to fix some conflicts

I have fixed those. The problem was just, that the series types were introduced in the file. 🤖

@jbesomi jbesomi marked this pull request as draft September 14, 2020 15:45
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

Successfully merging this pull request may close these issues.

None yet

3 participants