add punctuation

This commit is contained in:
stuart committed 2026-10-20 10:50:30 +02:00
1 parent f75b887abb
commit 40f6a07928
1 file changed
+1
+1
View File
@@ -78,6 +78,7 @@ class SentenceWord(ModifiedBaseModel):
name: bool = False # a person's name: gets a generic person symbol
gender: Optional[str] = None # "fem" or "mask" for a name, if known
grammar: bool = False # a common grammar word ("the", "og"): skipped if the dictionary has no match
punctuation: bool = False # "?" or "!", shown as its own symbol (only sent where the provider has one)
class WordsPreprocessResponse(ModifiedBaseModel):
words: List[SentenceWord]