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

Commit

Permalink
Remove ..derpecated:: annotation due to 'Unexpected indentation' error
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Oct 4, 2019
1 parent 6a5c048 commit 895808a
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions src/gluonnlp/vocab/vocab.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,20 @@ class Vocab:
Deprecated Parameters
---------------------
deprecated_padding_token
The representation for the special token of padding token.
Default: '<pad>'
.. deprecated:: 0.9
Specifying padding_token as positional argument is deprecated and
support will be removed. Specify it as keyword argument instead
(see documentation of **kwargs above)
The representation for the special token of padding token. Default:
'<pad>'. Specifying padding_token as positional argument is deprecated
and support will be removed. Specify it as keyword argument instead
(see documentation of **kwargs above)
deprecated_bos_token
The representation for the special token of beginning-of-sequence token.
Default: '<bos>'
.. deprecated:: 0.9
Specifying bos_token as positional argument is deprecated and
support will be removed. Specify it as keyword argument instead
(see documentation of **kwargs above)
The representation for the special token of beginning-of-sequence
token. Default: '<bos>'. Specifying bos_token as positional argument is
deprecated and support will be removed. Specify it as keyword argument
instead (see documentation of **kwargs above)
deprecated_eos_token
The representation for the special token of end-of-sequence token.
Default: '<eos>'
.. deprecated:: 0.9
Specifying eos_token as positional argument is deprecated and
support will be removed. Specify it as keyword argument instead
(see documentation of **kwargs above)
Default: '<eos>'. Specifying eos_token as positional argument is
deprecated and support will be removed. Specify it as keyword argument
instead (see documentation of **kwargs above)
Attributes
----------
Expand Down

0 comments on commit 895808a

Please sign in to comment.