File size: 197 Bytes
837fdb6
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from myrpunct import RestorePuncts

def predict(input_text):
    rpunct = RestorePuncts()
    output_text = rpunct.punctuate(input_text)
    print("Punctuation finished...")
    return output_text