Support for multiple words in autocomplete