def get_subwords(self, word, on_unicode_error='<STR_LIT:strict>'):
pair = self.f.getSubwords(word, on_unicode_error)<EOL>return pair[<NUM_LIT:0>], np.array(pair[<NUM_LIT:1>])<EOL>
Given a word, get the subwords and their indicies.