Skip to content

Commit

Permalink
remove test sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirtia committed Apr 4, 2023
1 parent 4741e88 commit 33964d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/nltk_summarizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ def summarize(self, quiet=False) -> None:
sorted(scores, key=scores.get,
reverse=True)[:self.NUM_SENTENCES]), self.CHUNK_SIZE)

self.summary = ""
with ThreadPoolExecutor() as executor:
futures = list(
executor.map(self._summarize_chunk, raw_summary_chunks))
Expand Down
2 changes: 0 additions & 2 deletions src/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def main():

args = parser.parse_args()


converter_PDF = converter.PDFToTextConverter(args.file)
if args.mode == "ntlk":
summarizer_NTLK = nltk_summarizer.PDFSummarizer(args.file)
summarizer_NTLK.summarize()
Expand Down

0 comments on commit 33964d7

Please sign in to comment.