forked from mindspore-Ecosystem/mindspore
!2360 Fix api doc of dataset build_vocab
Merge pull request !2360 from pengyanjun/fix_dataset_public_api_build_vocab
This commit is contained in:
commit
9d3e0696d5
|
@ -895,7 +895,6 @@ class Dataset:
|
|||
return ProjectDataset(self, columns)
|
||||
|
||||
def build_vocab(self, vocab, columns, freq_range, top_k, special_tokens, special_first):
|
||||
""" Internal function for building a vocab"""
|
||||
return BuildVocabDataset(self, vocab, columns, freq_range, top_k, special_tokens, special_first)
|
||||
|
||||
def apply(self, apply_func):
|
||||
|
|
Loading…
Reference in New Issue