SKSummaryCopySentenceAtIndex(_:_:)
Gets a specified sentence from the text in a summarization object.
Declaration
func SKSummaryCopySentenceAtIndex(_ summary: SKSummary!, _ i: CFIndex) -> Unmanaged<CFString>!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 CFString object containing the specified sentence, or NULL on failure.
See Also
Working With Summarization
SKSummaryCreateWithString(_:)SKSummaryGetSentenceSummaryInfo(_:_:_:_:_:)SKSummaryGetParagraphSummaryInfo(_:_:_:_:)SKSummaryGetSentenceCount(_:)SKSummaryGetParagraphCount(_:)SKSummaryCopyParagraphAtIndex(_:_:)SKSummaryCopySentenceSummaryString(_:_:)SKSummaryCopyParagraphSummaryString(_:_:)SKSummaryGetTypeID()