def _get_background_unigram_frequencies(self): if self.get_background_corpus() is not None: return self.get_background_corpus() return DefaultBackgroundFrequencies.get_background_frequency_df(self._unigram_frequency_path)
def _get_background_unigram_frequencies(self): if self.get_background_corpus() is not None: return self.get_background_corpus() return DefaultBackgroundFrequencies.get_background_frequency_df(self._unigram_frequency_path)