LineSegmenter.lstm constructor

LineSegmenter.lstm()

Construct a LineSegmenter with default options (no locale-based tailoring) and LSTM payload data for Burmese, Khmer, Lao, and Thai, using compiled data.

See the Rust documentation for new_lstm for more information.

Implementation

factory LineSegmenter.lstm() {
  final result = _icu4x_LineSegmenter_create_lstm_mv1();
  return LineSegmenter._fromFfi(result, []);
}