BrokenSentence class
The result of a breakSentence
request.
Constructors
-
BrokenSentence({required String text, required List<
int> sentLen, required List<String> segments, DetectedLanguage? detectedLanguage}) -
const
-
BrokenSentence.fromJson(Map<
String, dynamic> json) -
factory
Properties
- detectedLanguage → DetectedLanguage?
-
The detected language of the original text, for cases where it wasn't
explicitly specified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
String> -
Segments of the word after being split.
final
-
sentLen
→ List<
int> -
The length of each segment of the text, as reported by Azure.
You probably don't need this but it's here anyway.
final
- text → String
-
The original text in the base language
that was used to generate the request.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited