dataset_pseudo_generator module¶
-
dataset_pseudo_generator.
dataset_generate
(model_name='en_core_web_sm', suggestions=[], max_similar_amount=100)[source]¶
-
dataset_pseudo_generator.
similar_set_spacy
(model, word_list, max_similar_amount=100)[source]¶ Return the List of similar words using the spacy model and suggested word_list
Parameters: - model (spacy model object) – The spacy model
- word_list (list) – The list of suggestive words
- max_similar_amount (int) – The maximum number of words to look for
Returns: list of similar words
Return type: dataset (list)