MrCCecho
MrCCecho
When I follow the tutorial in following website: https://fooof-tools.github.io/fooof/auto_tutorials/plot_01-ModelDescription.html#sphx-glr-auto-tutorials-plot-01-modeldescription-py fm1 = FOOOF(min_peak_height=0.05, verbose=False) fm2 = FOOOF(min_peak_height=0.05, aperiodic_mode='knee', verbose=False) fm1.fit(freqs1, powers1) fm2.fit(freqs2, powers2) # Plot one of the example power spectra...
If you run the 'obj.get_sememes_by_word', you will get a TypeError: **TypeError: unsupported operand type(s) for |=: 'set' and 'list'** "res = set() sememe_x = self.get_sememe(x, strict=strict) for s_x in sememe_x:...
The objects of hownet_dict is 'get_all_senses', not 'get_all_sense'. All objects follow as: ['_HowNetDict__gen_sememe_list', '_HowNetDict__get_words_list_by_rule', '_HowNetDict__sense_similarity', 'calculate_word_similarity', 'en_map', 'get_all_babel_synsets', 'get_all_sememe_relations', 'get_all_sememes', 'get_all_sense_pos', '**get_all_senses**', 'get_all_synset_pos', 'get_all_synset_relations', 'get_en_words', 'get_nearest_words', 'get_related_sememes', 'get_related_synsets', 'get_sememe', 'get_sememe_relation',...