Function

SKSummaryCopySentenceAtIndex

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

Declaration

CFStringRef SKSummaryCopySentenceAtIndex(SKSummaryRef summary, CFIndex i);

Parameters

summary

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

i

The ordinal number of the sentence in the original text, with the first sentence designated by zero (this function uses zero-based indexing).

Return Value

A CFStringRef object containing the specified sentence, or NULL on failure.

See Also

Working With Summarization

SKSummaryCreateWithString

Creates a summary object based on a text string.

SKSummaryGetSentenceSummaryInfo

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

SKSummaryGetParagraphSummaryInfo

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

SKSummaryGetSentenceCount

Gets the number of sentences in a summarization object.

SKSummaryGetParagraphCount

Gets the number of paragraphs in a summarization object.

SKSummaryCopyParagraphAtIndex

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

SKSummaryCopySentenceSummaryString

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

SKSummaryCopyParagraphSummaryString

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

SKSummaryGetTypeID

Gets the type identifier for Search Kit summarization objects.