TextSummarizer class final
Generates either a short paragraph or key points from input text.
Properties
Methods
-
close(
) → Future< void> - Releases native, web, and isolate resources owned by this task.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
summarize(
String text) → Future< TextSummarizerResult> -
Summarizes
textand waits for the complete result. -
summarizeStreaming(
String text) → Stream< TextSummarizerChunk> -
Summarizes
textand emits incremental output. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
TextSummarizerOptions options, {TextRuntime? runtime}) → Future< TextSummarizer> -
Creates a summarizer using
runtime, or the active platform adapter.