Documentation
¶
Overview ¶
ABOUTME: This file provides automatic content summary generation from HTML content. ABOUTME: It supports extracting summaries based on sentence count with intelligent fallbacks.
Index ¶
Constants ¶
View Source
const DefaultCharacterFallback = 150
DefaultCharacterFallback is the fallback character limit when sentence extraction fails.
View Source
const DefaultSummaryLength = 2
DefaultSummaryLength is the default number of sentences to extract for summaries.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// SentenceCount is the number of sentences to extract for summaries
SentenceCount int
// CharacterFallback is the character limit for fallback summaries
CharacterFallback int
}
Generator handles summary generation from HTML content.
Click to show internal directories.
Click to hide internal directories.