46 virtual SegmentsPtr
Segment(std::string_view text)
const = 0;
49 SegmentsPtr
Segment(
const char* text)
const;
52 SegmentsPtr
Segment(
const std::string& str)
const;
Abstract base for text segmentation.
Definition Segmentation.hpp:38
virtual SegmentsPtr Segment(std::string_view text) const =0
Splits text into segments and returns them.