Closed dakinggg closed 5 years ago
Thanks for fixing all the bugs so fast! I've got another edge case for you. Sometimes when the input only contains space separated periods, the first one is removed:
>>> segmenter.segment('.') [] >>> segmenter.segment('..') ['..'] >>> segmenter.segment('...') ['...'] >>> segmenter.segment('. .') ['. .'] >>> segmenter.segment('. . .') ['. .'] >>>
Thanks for fixing all the bugs so fast! I've got another edge case for you. Sometimes when the input only contains space separated periods, the first one is removed: