def get_reply_states(self, string, dataset):
        """Get initial states from input string.

        Parameters
        ----------
        string : `str`
            Input string.
        dataset : `str`
            Dataset key.

        Returns
        -------
        `list` of `list` of `str`
        """
        words = get_words(string)
        if not words:
            return []
        long_word = 4
        long_words = [word for word in words if len(word) >= long_word]
        short_words = [word for word in words if len(word) < long_word]
        for words in (long_words, short_words):
            ret = [
                states
                for states in (
                    self.storage.get_states(dataset, word)
                    for word in words
                )
                if states
            ]
            if ret:
                return ret
        return []
Get initial states from input string.

        Parameters
        ----------
        string : `str`
            Input string.
        dataset : `str`
            Dataset key.

        Returns
        -------
        `list` of `list` of `str`