Can you make this faster? Sentence to Numpy Array mapping

后端 未结 0 1109
慢半拍i
慢半拍i 2021-01-04 08:36

I have a string of Korean language. I need to map it into a numpy array where each letter is encoded in one-hot fashion.

def embed_letter(x: str) -> np.arr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题