From 40f6a07928d39f16f215a8bf9890598f895f1b56 Mon Sep 17 00:00:00 2001 From: stuartgo Date: Tue, 20 Oct 2026 10:50:30 +0200 Subject: [PATCH] add punctuation --- anansyTypes/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anansyTypes/schemas.py b/anansyTypes/schemas.py index 7a61deb..7750390 100644 --- a/anansyTypes/schemas.py +++ b/anansyTypes/schemas.py @@ -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]