diff --git a/bindings/python/py_src/tokenizers/models/__init__.pyi b/bindings/python/py_src/tokenizers/models/__init__.pyi index 955b9a16..f6862539 100644 --- a/bindings/python/py_src/tokenizers/models/__init__.pyi +++ b/bindings/python/py_src/tokenizers/models/__init__.pyi @@ -85,7 +85,7 @@ class BPE(Model): Args: vocab (:obj:`Dict[str, int]`, `optional`): - A dictionnary of string keys and their ids :obj:`{"am": 0,...}` + A dictionary of string keys and their ids :obj:`{"am": 0,...}` merges (:obj:`List[Tuple[str, str]]`, `optional`): A list of pairs of tokens (:obj:`Tuple[str, str]`) :obj:`[("a", "b"),...]` @@ -340,7 +340,7 @@ class WordLevel(Model): Args: vocab (:obj:`str`, `optional`): - A dictionnary of string keys and their ids :obj:`{"am": 0,...}` + A dictionary of string keys and their ids :obj:`{"am": 0,...}` unk_token (:obj:`str`, `optional`): The unknown token to be used by the model. @@ -466,7 +466,7 @@ class WordPiece(Model): Args: vocab (:obj:`Dict[str, int]`, `optional`): - A dictionnary of string keys and their ids :obj:`{"am": 0,...}` + A dictionary of string keys and their ids :obj:`{"am": 0,...}` unk_token (:obj:`str`, `optional`): The unknown token to be used by the model. diff --git a/bindings/python/src/models.rs b/bindings/python/src/models.rs index 846bb61c..bffa1bc2 100644 --- a/bindings/python/src/models.rs +++ b/bindings/python/src/models.rs @@ -226,7 +226,7 @@ impl PyModel { /// /// Args: /// vocab (:obj:`Dict[str, int]`, `optional`): -/// A dictionnary of string keys and their ids :obj:`{"am": 0,...}` +/// A dictionary of string keys and their ids :obj:`{"am": 0,...}` /// /// merges (:obj:`List[Tuple[str, str]]`, `optional`): /// A list of pairs of tokens (:obj:`Tuple[str, str]`) :obj:`[("a", "b"),...]` @@ -530,7 +530,7 @@ impl PyBPE { /// /// Args: /// vocab (:obj:`Dict[str, int]`, `optional`): -/// A dictionnary of string keys and their ids :obj:`{"am": 0,...}` +/// A dictionary of string keys and their ids :obj:`{"am": 0,...}` /// /// unk_token (:obj:`str`, `optional`): /// The unknown token to be used by the model. @@ -701,7 +701,7 @@ impl PyWordPiece { /// /// Args: /// vocab (:obj:`str`, `optional`): -/// A dictionnary of string keys and their ids :obj:`{"am": 0,...}` +/// A dictionary of string keys and their ids :obj:`{"am": 0,...}` /// /// unk_token (:obj:`str`, `optional`): /// The unknown token to be used by the model. diff --git a/docs/source/_static/js/custom.js b/docs/source/_static/js/custom.js index bb218c6d..3459f212 100644 --- a/docs/source/_static/js/custom.js +++ b/docs/source/_static/js/custom.js @@ -22,7 +22,7 @@ const versionMapping = { } }; -// Dictionnary language name to Label +// Dictionary language name to Label const languageName = { "rust": "Rust", "python": "Python",