错误的用户生成内容

错误的用户生成内容

有没有一种方法可以使用nlp或现有的库来向错误的用户生成内容添加缺少的标点符号?
例如,此字符串:
Today is Tuesday I went to work on Monday Friday was off
会变成:
Today is Tuesday. I went to work on Monday. Friday was off.

最佳答案

我认为这个问题属于句子边界消歧。我使用了opennlp变体,并对结果感到满意。

关于ruby - 找出在错误的用户生成内容中添加标点符号的位置?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22948506/

10-09 13:23