MikeHopcroft / ShortOrder

A natural language conversational agent for ordering and organizing items from a catalog.
MIT License
13 stars 7 forks source link

Split strings correctly in presence of multiple consecutive whitespace #21

Closed MikeHopcroft closed 5 years ago

MikeHopcroft commented 6 years ago

s.split(' +') instead of s.split(' ')

MikeHopcroft commented 6 years ago

Technically speaking, this isn't a bug, but it an easy pit to fall into.

MikeHopcroft commented 6 years ago

Fixed in token-flow. Will close after token-flow integration #38.