Skip to content

Commit

Permalink
Update transform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kellischeuble authored Sep 13, 2020
1 parent 896dfe0 commit ead264f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ def keyword(text):
"""
Formats keywords by
-lowercasing all letters
-replacing ' ' with '_'
-replacing '-' with '_'
-replacing '-' with ' '
"""
text = str(text).lower()
text = text.replace("-", " ")
Expand Down

0 comments on commit ead264f

Please sign in to comment.