namespace icu4x { /** *AnICU4Xline-breaksegmenter,capableoffindingbreakpointsinstrings. * *Seethe[Rustdocumentationfor`LineSegmenter`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html) for more information.
*/ class LineSegmenter {
public:
/** *Constructa{@linkLineSegmenter}withdefaultoptions(nolocale-basedtailoring)usingcompileddata.Itautomaticallyloadsthebest *availablepayloaddataforBurmese,Khmer,Lao,andThai. * *Seethe[Rustdocumentationfor`new_auto`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_auto) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_auto();
/** *Constructa{@linkLineSegmenter}withdefaultoptions(nolocale-basedtailoring)andLSTMpayloaddatafor *Burmese,Khmer,Lao,andThai,usingcompileddata. * *Seethe[Rustdocumentationfor`new_lstm`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_lstm) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_lstm();
/** *Constructa{@linkLineSegmenter}withdefaultoptions(nolocale-basedtailoring)anddictionarypayloaddatafor *Burmese,Khmer,Lao,andThai,usingcompileddata * *Seethe[Rustdocumentationfor`new_dictionary`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_dictionary();
/** *Constructa{@linkLineSegmenter}withcustomoptionsusingcompileddata.Itautomaticallyloadsthebest *availablepayloaddataforBurmese,Khmer,Lao,andThai. * *Seethe[Rustdocumentationfor`new_auto`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_auto) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_auto_with_options_v2(consticu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Constructa{@linkLineSegmenter}withcustomoptions.Itautomaticallyloadsthebest *availablepayloaddataforBurmese,Khmer,Lao,andThai,usingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_auto`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_auto) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::LineSegmenter>, icu4x::DataError> create_auto_with_options_v2_and_provider(const icu4x::DataProvider& provider, const icu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Constructa{@linkLineSegmenter}withcustomoptionsandLSTMpayloaddatafor *Burmese,Khmer,Lao,andThai,usingcompileddata. * *Seethe[Rustdocumentationfor`new_lstm`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_lstm) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_lstm_with_options_v2(consticu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Constructa{@linkLineSegmenter}withcustomoptionsandLSTMpayloaddatafor *Burmese,Khmer,Lao,andThai,usingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_lstm`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_lstm) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::LineSegmenter>, icu4x::DataError> create_lstm_with_options_v2_and_provider(const icu4x::DataProvider& provider, const icu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Constructa{@linkLineSegmenter}withcustomoptionsanddictionarypayloaddatafor *Burmese,Khmer,Lao,andThai,usingcompileddata. * *Seethe[Rustdocumentationfor`new_dictionary`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary) for more information.
*/ inlinestatic std::unique_ptr<icu4x::LineSegmenter> create_dictionary_with_options_v2(const icu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Constructa{@linkLineSegmenter}withcustomoptionsanddictionarypayloaddatafor *Burmese,Khmer,Lao,andThai,usingaparticulardatasource. * *Seethe[Rustdocumentationfor`new_dictionary`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenter.html#method.new_dictionary) for more information.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::LineSegmenter>, icu4x::DataError> create_dictionary_with_options_v2_and_provider(const icu4x::DataProvider& provider, const icu4x::Locale* content_locale, icu4x::LineBreakOptionsV2 options);
/** *Segmentsastring. * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`segment_utf8`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenterBorrowed.html#method.segment_utf8) for more information.
*/ inline std::unique_ptr<icu4x::LineBreakIteratorUtf8> segment(std::string_view input) const;
/** *Segmentsastring. * *Ill-formedinputistreatedasiferrorshadbeenreplacedwithREPLACEMENTCHARACTERsaccording *totheWHATWGEncodingStandard. * *Seethe[Rustdocumentationfor`segment_utf16`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenterBorrowed.html#method.segment_utf16) for more information.
*/ inline std::unique_ptr<icu4x::LineBreakIteratorUtf16> segment16(std::u16string_view input) const;
/** *SegmentsaLatin-1string. * *Seethe[Rustdocumentationfor`segment_latin1`](https://docs.rs/icu/2.1.1/icu/segmenter/struct.LineSegmenterBorrowed.html#method.segment_latin1) for more information.
*/ inline std::unique_ptr<icu4x::LineBreakIteratorLatin1> segment_latin1(icu4x::diplomat::span<const uint8_t> input) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.