THULAC-Python icon indicating copy to clipboard operation
THULAC-Python copied to clipboard

使用向量化解码会不会快一点?

Open zhangkaixu opened this issue 5 years ago • 0 comments

比如用numpy。一个ngram的特征是向量,动态规划dbDecode() (话说应该是dpDecode()吧)使用向量和矩阵运算,把3层python for循环降为1层。

zhangkaixu avatar Dec 20 '19 02:12 zhangkaixu