Skip to content

Summarization

WordFrequency dataclass

Bases: SummarizationBaseMethod

Get summarized text based on word frequency method

get_summary

get_summary(threshold: float | None = None) -> str

Main function to orchestrate the summarization

Parameters:

Name Type Description Default
threshold float | None

The more the value the lesser the summary text

None