How do I insert punctuation in unpunctuated text?
5 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am currently working on a very fun project, but unfortunately came across a problem I haven't been able to solve for some time. What I am trying to do is punctuate text that contains no punctuation. At the time of writing I have a lot of text files that contain proper punctuation, and matching text files without punctuation.
Initially, I thought that Matlab would have some Neural Network that I could train with the input and output files I have but no, unfortunately not.
Therefor I am reaching out to you and hope there is someone who can help me punctuate unpunctuated text.
8 个评论
Guillaume
2018-1-22
No neural network is going to be able to say which is more correct of:
What's happened to me? He thought. It wasn't a dream.
"What's happened to me?", he thought. It wasn't a dream.
What's happened to me? He thought it wasn't a dream.
Without a ton of context no human can do that either. And even with context, it can still be ambiguous.
The traditional example:
Eats shoots and leaves. (Panda)
Eats, shoots, and leaves. (Gunman)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!