diff --git a/src/sumy_summarizer.py b/src/sumy_summarizer.py index 2063908..7a8199d 100644 --- a/src/sumy_summarizer.py +++ b/src/sumy_summarizer.py @@ -8,9 +8,17 @@ class PDFSummarizer(PDFToTextConverter): + """ + A class that can be used to summarize text extracted from a PDF file. + Inherits from PDFToTextConverter, which extracts the text from the PDF file. + + Attributes: + - LANGUAGE (str): The language to use for summarization. Default is "english". + - NUM_SENTENCES (int): The number of sentences to include in the summary. Default is 20. LANGUAGE = "english" NUM_SENTENCES = 20 + """ def __init__(self, filename) -> None: super().__init__(filename)