重建句子的Nlp库

Nlp library that reconstruct sentense

我正在寻找一个可以重建单词或句子的 nlp 库。

我不知道 space 或 nltk 是否可以。

例如:

我是一个测试 t => 这是一个测试

早上 => 早上

Let'5 pl3 y => 来玩吧

在此先感谢您的帮助

您可以使用像这样的包,

1)姜力特:https://github.com/Azd325/gingerit

2)Spacy_grammar : https://github.com/tokestermw/spacy_grammar

3)语言工具:https://github.com/languagetool-org/languagetool