Model Overview This model accepts as input lower cased, unpunctuated English text and performs in one pass punctuation restoration, true casing (capitalization), and sentence boundary detection (segmentation). In contast to many similar models, this model can predict punctuated acronyms (e.g., "U.S.") via a special "acronym" class, as well as arbitarily capitalized words (NATO, McDonald's, etc.) via multi label true casing predictions. Widget note : The text generation widget doesn't seem to respect line breaks. Instead, the pipeline inserts a new line token \n in the text where the model has predicted sentence boundaries (line breaks). Usage The easy way to use this model is to install punctuators: If this package is broken, please let me know in the community tab (I update it for each model and break it a lot!). Let's punctuate my weekend recap, as well as few interesting sentences with acronyms and abbreviations that I made up or found on Wikipedia: Example Usage Exact output may vary based on the model version; here is the current output: Expected Output Model Details This model implements the graph shown below, with brief descriptions for each step following. 1. Encoding : The…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy