punctuation-restore

A Node.js package that restores punctuation and casing to unpunctuated text using the punctuation_fullstop_truecase_english ONNX model: https://huggingface.c...

Wraps the punctuation_fullstop_truecase_english ONNX model from Hugging Face and exposes a PunctuationRestorer class with a restore(texts: string[]) method that returns punctuated and cased strings. Models are downloaded on first use and cached under ./models. Supports batch processing across multiple inputs.