File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -292,12 +292,20 @@ def post_process(sentence, accessibility):
292
292
def convert_sentence (sentence , accessibility = False ):
293
293
"""
294
294
Converts a sentence to input supported by Estonian text-to-speech application.
295
- :param sentence: str
296
- :return: str
297
-
298
- #TODO
299
- :param accessibility: bool
300
- """
295
+
296
+ Parameters
297
+ ----------
298
+ sentence: str ()
299
+ Input sentence
300
+ accessibility: bool (default: False)
301
+ True: question and exclamation marks are spelled out, upper case letters in alphanumeric codes are distinguished as such.\\
302
+ False: normal conversion.
303
+
304
+ Returns
305
+ ----------
306
+ str
307
+ Converted sentence.
308
+ """
301
309
302
310
sentence = pre_process (sentence , accessibility )
303
311
You can’t perform that action at this time.
0 commit comments