update from Atlas repo

This commit is contained in:
Luciano Ramalho
2014-12-21 09:01:11 -02:00
parent 33d65dc590
commit 9db73c75ef
6 changed files with 159 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ class SentenceSlice:
else:
return self.words[position]
def __len__(self, index):
return len(self.words)
# helper functions -- implementation detail
def _handle_defaults(self, position):
"""handle missing or overflow/underflow start/stop"""