def subwords_to_indices(self, subwords):
return [self.fasttext_hash_asbytes(sw) % self.num_subwords for sw in subwords]<EOL>
Return list of subwordindices associated with subwords.

        Parameters
        ----------
        subwords : iterable of str
            Subwords to replace by indices.

        Returns
        -------
        Iterable of int.