I am building a system that should take text without punctuation and automatically add punctuation.
I found some papers about automatic punctuation, but they are mostly about spoken language understanding, they use cues such as prosody to detect potential places for punctuation. In my case the input is written text. Are there papers about automatic punctuation of written text?
My current idea is to treat each punctuation mark as a class (.
, ,
, ;
, :
, ?
, !
, ?!
) and add a class for "no punctuation". Then, use e.g. an LSTM and classify each word to one of the classes.
An alternative approach is to first use a binary classifier to detect words after which there should be a punctuation mark, then use a multiclass classifier only on the punctuated words, to choose the right mark. Which of these approaches, if any, is good?