add punctuation
This commit is contained in:
1 parent
f75b887abb
commit
40f6a07928
1 file changed
+1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user