freezeframe-gr / repunct.py
wldmr's picture
init
1b6a502
raw
history blame contribute delete
197 Bytes
from myrpunct import RestorePuncts
def predict(input_text):
rpunct = RestorePuncts()
output_text = rpunct.punctuate(input_text)
print("Punctuation finished...")
return output_text