8859-1.txt
0 → 100644
+303
−0
S4-191180_ATIAS_Contents.doc
0 → 100644
+68 KiB
test.pdf
0 → 100644
+27.4 KiB
tmp1.txt
0 → 100644
+434
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
The summary word count warning was triggered even when the original document had fewer words than the minimum threshold (abstract_min_words=150). For example: - Original document: 80 words total - Abstract/summary: 60 words - Old behavior: Warning 'Abstract shorter than minimum: 60 words' - Problem: Summary CAN'T be longer than original! Fixed by: 1. Counting words in original markdown before generating summary 2. Only warning about short summary if: - Abstract word count < minimum AND - Original document word count >= minimum 3. If original is shorter than minimum: - Log debug message instead of warning - Document is still processed (not skipped) 4. Separate logic for summary > max words (always warn) This ensures helpful summaries for even very short documents, while avoiding false warnings when summary length is constrained by source content.
File added.
No diff preview for this file type.
File added.
Preview size limit exceeded, changes collapsed.
File added.
Preview size limit exceeded, changes collapsed.