Documentation ¶
Index ¶
- func ExtractMainInfoFromURL(url string) (string, string, []string, error)
- func GetSummary(content string) string
- func GetSummaryInfo(originalText string, summarizedText string, imagesCount int) string
- func IsPositiveAnswer(answer string) bool
- func IsURL(text string) bool
- func ReadInputFromUser(message string) string
- func StoreTextToFile(path string, title string, text string, images []string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractMainInfoFromURL ¶
ExtractMainInfoFromURL searches the main content from the given url and returns the text and images
func GetSummary ¶
GetSummary builds the summary from the given content text
func GetSummaryInfo ¶
GetSummaryInfo Returns summary information statistics for the original text and summarized text
func IsPositiveAnswer ¶
IsPositiveAnswer checks if the user has answered positively
func ReadInputFromUser ¶
ReadInputFromUser reads the entered message, trims it and returns it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.