WordSegmenter.lstm constructor
Construct an WordSegmenter with LSTM payload data for Burmese, Khmer, Lao, and Thai, using compiled data. This does not assume any content locale.
Note: currently, it uses dictionary for Chinese and Japanese, and LSTM for Burmese, Khmer, Lao, and Thai.
See the Rust documentation for new_lstm
for more information.
Implementation
factory WordSegmenter.lstm() {
final result = _icu4x_WordSegmenter_create_lstm_mv1();
return WordSegmenter._fromFfi(result, []);
}