Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Fix doc lint: "Inline strong start-string without end-string."
Browse files Browse the repository at this point in the history
`**` is interpreted as start-string for strong format.
  • Loading branch information
leezu committed Oct 11, 2019
1 parent 895808a commit 7de5de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gluonnlp/vocab/vocab.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Vocab:
example, it is valid to only set the `unknown_token` index to 10
(instead of the default of 0) with `token_to_idx = {'<unk>': 10}`,
assuming that there are at least 10 tokens in the vocabulary.
**kwargs
``**kwargs``
Keyword arguments of the format `xxx_token` can be used to specify
further special tokens that will be exposed as attribute of the
vocabulary and associated with an index.
Expand Down

0 comments on commit 7de5de9

Please sign in to comment.