@@ -31,7 +31,7 @@ def text_to_word_sequence(text,
3131 # Arguments
3232 text: Input text (string).
3333 filters: list (or concatenation) of characters to filter out, such as
34- punctuation. Default: `!"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n `,
34+ punctuation. Default: `` !"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n ` `,
3535 includes basic punctuation, tabs, and newlines.
3636 lower: boolean. Whether to convert the input to lowercase.
3737 split: str. Separator for word splitting.
@@ -74,7 +74,7 @@ def one_hot(text, n,
7474 text: Input text (string).
7575 n: int. Size of vocabulary.
7676 filters: list (or concatenation) of characters to filter out, such as
77- punctuation. Default: `!"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n `,
77+ punctuation. Default: `` !"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n ` `,
7878 includes basic punctuation, tabs, and newlines.
7979 lower: boolean. Whether to set the text to lowercase.
8080 split: str. Separator for word splitting.
@@ -106,7 +106,7 @@ def hashing_trick(text, n,
106106 it is not consistent across different runs, while 'md5'
107107 is a stable hashing function.
108108 filters: list (or concatenation) of characters to filter out, such as
109- punctuation. Default: `!"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n `,
109+ punctuation. Default: `` !"#$%&()*+,-./:;<=>?@[\\ ]^_`{|}~\t \n ` `,
110110 includes basic punctuation, tabs, and newlines.
111111 lower: boolean. Whether to set the text to lowercase.
112112 split: str. Separator for word splitting.
0 commit comments