From 7de5de9d6ac70a2fdf0d1f431c1200eb737b1083 Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Fri, 11 Oct 2019 00:21:58 +0000 Subject: [PATCH] Fix doc lint: "Inline strong start-string without end-string." `**` is interpreted as start-string for strong format. --- src/gluonnlp/vocab/vocab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gluonnlp/vocab/vocab.py b/src/gluonnlp/vocab/vocab.py index 5885bf19f6..20b18dfad6 100644 --- a/src/gluonnlp/vocab/vocab.py +++ b/src/gluonnlp/vocab/vocab.py @@ -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 = {'': 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.