Permalink
Browse files

cleaned up comment

  • Loading branch information...
1 parent 847d95a commit 8d019f9da1dd5b7ef11ef8a7f043c6781b494e7f @rrenaud committed Jun 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 gib_detect_train.py
View
@@ -8,7 +8,7 @@
pos = dict([(char, idx) for idx, char in enumerate(accepted_chars)])
def normalize(line):
- """ Return only the subset of chars from accepted_chars, this will keep
+ """ Return only the subset of chars from accepted_chars.
This helps keep the model relatively small by ignoring punctuation,
infrequenty symbols, etc. """
return [c.lower() for c in line if c.lower() in accepted_chars]

0 comments on commit 8d019f9

Please sign in to comment.