End of Sentence Punctuation Only

#3
by cooperchris17 - opened

Is it possible to only restore end of sentence punctuation (full stops), and not all of the other punctuation marks?

(Sorry if this is an obvious question, but I couldn't work out the answer from reading the code, as I'm still new to NLP)

This model always predicts the probabilities of punctuation marks - if you just need the the full stops than just use them and ignore the others.
If you want to segment sentences you can check if the label is a . or ? and assume its an sentence end.

Thank you, I understand now, I can use 'model.predict()' in your example code and choose the punctuation that I want.
This model is very useful, thank you for making it available!

oliverguhr changed discussion status to closed

Sign up or log in to comment