Function

SKSummaryCopyParagraphSummaryString(_:_:)

Gets a text string consisting of a summary with, at most, the requested number of paragraphs.

Declaration

func SKSummaryCopyParagraphSummaryString(_ summary: SKSummary!, _ numParagraphs: CFIndex) -> Unmanaged<CFString>!

Parameters

summary

The summarization object containing the text from which you want a summarization.

numParagraphs

The maximum number of paragraphs you want in the summary.

Return Value

A CFString object containing the requested summary.

See Also

Working With Summarization

func SKSummaryCreateWithString(CFString!)

Creates a summary object based on a text string.

func SKSummaryGetSentenceSummaryInfo(SKSummary!, CFIndex, UnsafeMutablePointer<CFIndex>!, UnsafeMutablePointer<CFIndex>!, UnsafeMutablePointer<CFIndex>!)

Gets detailed information about a body of text for constructing a custom sentence-based summary string.

func SKSummaryGetParagraphSummaryInfo(SKSummary!, CFIndex, UnsafeMutablePointer<CFIndex>!, UnsafeMutablePointer<CFIndex>!)

Gets detailed information about a body of text for constructing a custom paragraph-based summary string.

func SKSummaryGetSentenceCount(SKSummary!)

Gets the number of sentences in a summarization object.

func SKSummaryGetParagraphCount(SKSummary!)

Gets the number of paragraphs in a summarization object.

func SKSummaryCopySentenceAtIndex(SKSummary!, CFIndex)

Gets a specified sentence from the text in a summarization object.

func SKSummaryCopyParagraphAtIndex(SKSummary!, CFIndex)

Gets a specified paragraph from the text in a summarization object.

func SKSummaryCopySentenceSummaryString(SKSummary!, CFIndex)

Gets a text string consisting of a summary with, at most, the requested number of sentences.

func SKSummaryGetTypeID()

Gets the type identifier for Search Kit summarization objects.