projects
/
python-collate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Category-based splitting.
[python-collate.git]
/
collate
/
_abcollator.py
diff --git
a/collate/_abcollator.py
b/collate/_abcollator.py
index
02cb733
..
2e6ab95
100644
(file)
--- a/
collate/_abcollator.py
+++ b/
collate/_abcollator.py
@@
-19,5
+19,6
@@
class Collator(object):
words = []
for sorteme in self.sortemes(string):
num, alpha = collate._strings.numeric(sorteme, invalid)
words = []
for sorteme in self.sortemes(string):
num, alpha = collate._strings.numeric(sorteme, invalid)
- words.append((num, self.key(alpha)))
+ alpha = self.key(collate._strings.strip_punc(alpha))
+ words.append((num, alpha))
return words
return words