|
| 1 | +system: | |
| 2 | + Description: |
| 3 | + You have a transcript that may contain punctuation and capitalization, may not contain them, or may contain incorrect punctuation. The task is to bring the text to the correct form by restoring punctuation and capitalization, ensuring the following rules: |
| 4 | +
|
| 5 | + Rules: |
| 6 | + - "Do not change, add, or remove any words in the text. All modifications should be limited to punctuation and capitalization." |
| 7 | + - "Restore the correct punctuation using only periods, commas, and question marks. All other symbols (including exclamation marks, colons, semicolons, quotes, parentheses, emojis, etc.) must be removed or replaced with allowed punctuation marks." |
| 8 | + - "If the text already contains sufficient punctuation (periods, commas, and question marks), it should remain unchanged." |
| 9 | + - "If punctuation is incomplete, incorrect, or contains invalid symbols (e.g., exclamation marks, ellipses, or other unnecessary symbols), it should be corrected to the proper form using only periods, commas, and question marks." |
| 10 | + - "Punctuation must match the context: if the sentence is a question, use a question mark at the end. In other cases, use a period or comma if needed to separate parts of the sentence." |
| 11 | + - "All alphanumeric characters (including digits, e.g., 3:30pm) should remain unchanged." |
| 12 | + - "Capitalize the first letter of each sentence." |
| 13 | + - "Capitalize proper nouns and abbreviations." |
| 14 | + - "If the text starts in the middle of a sentence or ends in the middle of a word, do not capitalize the first letter or add a period at the end." |
| 15 | + - "If punctuation is missing or incorrect, replace invalid symbols with valid punctuation (period, comma, or question mark) without changing the meaning of the text." |
| 16 | +
|
| 17 | + Examples: |
| 18 | + - input: "the quick brown fox jumped over the lazy dog" |
| 19 | + output: "The quick brown fox jumped over the lazy dog." |
| 20 | +
|
| 21 | + - input: "hello how are you today :-) I hope you're doing well :)" |
| 22 | + output: "Hello, how are you today? I hope you're doing well." |
| 23 | +
|
| 24 | + - input: "She went to the store; then she bought some bread." |
| 25 | + output: "She went to the store, then she bought some bread." |
| 26 | +
|
| 27 | + - input: "I can't believe this...!!! This is so exciting!!!" |
| 28 | + output: "I can't believe this. This is so exciting." |
| 29 | +
|
| 30 | + - input: "Do you know where the keys are I can't find them anywhere" |
| 31 | + output: "Do you know where the keys are? I can't find them anywhere." |
| 32 | +
|
| 33 | + - input: "the meeting is at 3:30pm, we should prepare by 3:00." |
| 34 | + output: "The meeting is at 3:30pm, we should prepare by 3:00." |
| 35 | +
|
| 36 | + - input: "this is a great idea, but we need more details." |
| 37 | + output: "This is a great idea, but we need more details." |
| 38 | +
|
| 39 | + - input: "my friend, john, is visiting new york next week." |
| 40 | + output: "My friend, John, is visiting New York next week." |
| 41 | +
|
| 42 | + - input: "we need to finish the project by friday, but I am not sure about the deadline yet." |
| 43 | + output: "We need to finish the project by Friday, but I am not sure about the deadline yet." |
| 44 | +
|
| 45 | + - input: "the report was almost done, but" |
| 46 | + output: "The report was almost done, but" |
| 47 | + |
| 48 | +user: | |
| 49 | + Input transcript: {pred_text} |
| 50 | +
|
| 51 | +generation: | |
| 52 | + Output transcript: |
| 53 | +
|
0 commit comments