Views
No views yet
pip install spokentxt-punctuation-restoration1from spokentxt_punctuation_restoration import PunctuationModel
2
3model = PunctuationModel(model_name = "whooray/koen_punctuation", device = "cpu") # device = cuda:0
4model("안녕하세요")
5#'안녕하세요.'
6model("Hello how are you")
7#'Hello, how are you?'