_strings: Numeric string extraction routines.
[python-collate.git] / collate / _abcollator.py
index 99866c3..a6ec268 100644 (file)
@@ -9,3 +9,6 @@ class Collator(object):
         This split is done using Unicode's definition of whitespace.
         """
         return string.split()
+
+    def wordkeys(self, string):
+        return map(self.key, self.words)